From 08dc3711b88930e59a27d1b870415c394219e4e0 Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Sat, 22 Oct 2022 08:28:31 +0400 Subject: [PATCH] Update actions to v3 (#314) * Update actions to v3 * update more actions to v3 --- .github/workflows/UnitTest.yml | 6 +++--- .github/workflows/docs.yml | 6 +++--- .github/workflows/invalidations.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/UnitTest.yml b/.github/workflows/UnitTest.yml index fca3a417..83b7be1b 100644 --- a/.github/workflows/UnitTest.yml +++ b/.github/workflows/UnitTest.yml @@ -44,11 +44,11 @@ jobs: arch: ${{ matrix.julia-arch }} - name: Cache artifacts - uses: actions/cache@v1 + uses: actions/cache@v3 env: cache-name: cache-artifacts with: - path: ~/.julia/artifacts + path: ~/.julia/artifacts key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} restore-keys: | ${{ runner.os }}-test-${{ env.cache-name }}- @@ -58,6 +58,6 @@ jobs: uses: julia-actions/julia-runtest@master - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v3 with: file: lcov.info diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8d4f6b06..f0192f3f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,16 +18,16 @@ jobs: julia-version: [1] os: [ubuntu-latest] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: julia-actions/setup-julia@latest with: version: ${{ matrix.julia-version }} - name: Cache artifacts - uses: actions/cache@v1 + uses: actions/cache@v3 env: cache-name: cache-artifacts with: - path: ~/.julia/artifacts + path: ~/.julia/artifacts key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} restore-keys: | ${{ runner.os }}-test-${{ env.cache-name }}- diff --git a/.github/workflows/invalidations.yml b/.github/workflows/invalidations.yml index af366665..b3730f76 100644 --- a/.github/workflows/invalidations.yml +++ b/.github/workflows/invalidations.yml @@ -12,14 +12,14 @@ jobs: - uses: julia-actions/julia-buildpkg@latest - uses: julia-actions/julia-invalidations@v1 id: invs_pr - - - uses: actions/checkout@v2 + + - uses: actions/checkout@v3 with: ref: 'master' - uses: julia-actions/julia-buildpkg@latest - uses: julia-actions/julia-invalidations@v1 id: invs_master - + - name: Report invalidation counts run: | echo "Invalidations on master: ${{ steps.invs_master.outputs.total }} (${{ steps.invs_master.outputs.deps }} via deps)"