From e736d7935009e143e9c2fa0752b779842847742d Mon Sep 17 00:00:00 2001 From: Mridul Seth Date: Wed, 7 Jun 2023 20:08:29 -0500 Subject: [PATCH] bump up actions --- .github/workflows/check.yaml | 30 +++++++++++++++--------------- .github/workflows/deploy.yaml | 20 ++++++++++---------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index d8be2aed..9ec25e7f 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -7,12 +7,12 @@ on: jobs: # Check that source code is black-ified black: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 name: Checkout repository - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 name: Setup Python with: python-version: 3.9 @@ -28,9 +28,9 @@ jobs: # This job is copied over from `deploy.yaml` build-environment: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # See: https://github.com/marketplace/actions/setup-conda - uses: s-weigand/setup-conda@v1 @@ -40,7 +40,7 @@ jobs: # Build cache of environment - name: Cache conda environment id: cache-environment - uses: actions/cache@v2 + uses: actions/cache@v3 # Conda environment build step depends on two files, # so we ensure that the hash key contains both their hashes. with: @@ -54,21 +54,21 @@ jobs: # See: https://github.com/actions/upload-artifact - name: Upload environment - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: nams-tarball path: nams.tar.gz # This job is copied over from `deploy.yaml` build-deploy-website: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 needs: build-environment steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # https://github.com/actions/download-artifact - name: Download environment tarball - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: nams-tarball @@ -78,7 +78,7 @@ jobs: # Build cache of website - name: Cache website id: cache-website - uses: actions/cache@v2 + uses: actions/cache@v3 # Website build step depends on the following files: # - mkdocs.yml # - scripts/ci/build_website.sh @@ -105,13 +105,13 @@ jobs: # This job is copied over from `deploy.yaml` build-deploy-leanpub: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 needs: build-environment steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Download environment tarball - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: nams-tarball @@ -121,7 +121,7 @@ jobs: # Build cache of leanpub source - name: Cache LeanPub id: cache-leanpub - uses: actions/cache@v2 + uses: actions/cache@v3 # Leanpub build step depends on the following files: # - scripts/bookbuilder # - scripts/ci/build_website.sh diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 9b0de7d1..7a6727fb 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -13,9 +13,9 @@ on: jobs: build-environment: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # See: https://github.com/marketplace/actions/setup-conda - uses: s-weigand/setup-conda@v1 @@ -25,7 +25,7 @@ jobs: # Build cache of environment - name: Cache conda environment id: cache-environment - uses: actions/cache@v2 + uses: actions/cache@v3 # Conda environment build step depends on two files, # so we ensure that the hash key contains both their hashes. with: @@ -39,20 +39,20 @@ jobs: # See: https://github.com/actions/upload-artifact - name: Upload environment - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: nams-tarball path: nams.tar.gz build-deploy-website: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 needs: build-environment steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # https://github.com/actions/download-artifact - name: Download environment tarball - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: nams-tarball @@ -77,13 +77,13 @@ jobs: disable_nojekyll: false build-deploy-leanpub: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 needs: build-environment steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Download environment tarball - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: nams-tarball