From bdd8f327df2241a7397bc21b653c41b81ffd8f56 Mon Sep 17 00:00:00 2001 From: Teseo Schneider Date: Tue, 23 Jul 2024 10:55:19 -0700 Subject: [PATCH] chore: Update GitHub Actions versions for continuous integration and coverage workflows --- .github/workflows/continuous.yml | 8 ++++---- .github/workflows/coverage.yml | 8 +++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml index 352d4ffb..5f5f5244 100644 --- a/.github/workflows/continuous.yml +++ b/.github/workflows/continuous.yml @@ -29,7 +29,7 @@ jobs: name: Linux steps: - name: Checkout repository - uses: actions/checkout@v1 + uses: actions/checkout@v4.1.6 with: fetch-depth: 10 @@ -53,7 +53,7 @@ jobs: - name: Cache Build id: cache-build - uses: actions/cache@v2 + uses: actions/cache@v4.0.2 with: path: ${{ env.CACHE_PATH }} key: ${{ runner.os }}-${{ matrix.config }}-cache-${{ github.sha }} @@ -92,7 +92,7 @@ jobs: config: [Debug, Release] steps: - name: Checkout repository - uses: actions/checkout@v1 + uses: actions/checkout@v4.1.6 with: fetch-depth: 10 @@ -105,7 +105,7 @@ jobs: - name: Cache build id: cache-build - uses: actions/cache@v2 + uses: actions/cache@v4.0.2 with: path: ${{ env.appdata }}\Mozilla\sccache key: ${{ runner.os }}-${{ matrix.config }}-cache-${{ github.sha }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index ca362d35..043b1fc2 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -23,7 +23,7 @@ jobs: name: Linux steps: - name: Checkout repository - uses: actions/checkout@v1 + uses: actions/checkout@v4.1.6 with: fetch-depth: 10 @@ -41,7 +41,7 @@ jobs: - name: Cache Build id: cache-build - uses: actions/cache@v3 + uses: actions/cache@v4.0.2 with: path: ${{ env.CACHE_PATH }} key: ${{ runner.os }}-Release-${{ matrix.threading }}-cache-${{ github.sha }} @@ -72,7 +72,9 @@ jobs: lcov --remove coverage.info '/usr/*' "${HOME}"'/.cache/*' '*tests/*.cpp' '*tests/*.h' --output-file coverage.info - name: Upload Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: flags: polysolve # optional files: coverage.info