diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c79c6e138..23e3c72ac 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -13,7 +13,7 @@ jobs: outputs: should_run: ${{ steps.should_run.outputs.should_run }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: print latest_commit run: echo ${{ github.sha }} @@ -21,7 +21,7 @@ jobs: continue-on-error: true name: check latest commit is less than a day if: ${{ github.event_name == 'schedule' }} - run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false" + run: test -z "$(git rev-list --after='24 hours' ${{ github.sha }})" && echo "name=should_run::false" >> "$GITHUB_OUTPUT" nightly: needs: check_date if: ${{ needs.check_date.outputs.should_run != 'false' }} @@ -35,13 +35,13 @@ jobs: uses: eWaterCycle/setup-apptainer@v2.0.0 - name: Get container from cache id: cache-sif - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .singularity/image.sif key: ${{ hashFiles('container.def', 'bin/.container-tag') }} - name: Get gems and node files from cache id: cache-bundle-npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | .home/.gems diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 572cdb945..4060bfaf1 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -26,13 +26,13 @@ jobs: uses: eWaterCycle/setup-apptainer@v2.0.0 - name: Get container from cache id: cache-sif - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .singularity/image.sif key: ${{ hashFiles('container.def', 'bin/.container-tag') }} - name: Get gems and node files from cache id: cache-bundle-npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | .home/.gems diff --git a/.github/workflows/regress.yml b/.github/workflows/regress.yml index 5d7b86a93..4ff261868 100644 --- a/.github/workflows/regress.yml +++ b/.github/workflows/regress.yml @@ -8,8 +8,8 @@ jobs: regress-pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 - uses: pre-commit/action@v3.0.1 regress-smoke: runs-on: ubuntu-latest @@ -22,13 +22,13 @@ jobs: uses: eWaterCycle/setup-apptainer@v2.0.0 - name: Get container from cache id: cache-sif - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .singularity/image.sif key: ${{ hashFiles('container.def', 'bin/.container-tag') }} - name: Get gems and node files from cache id: cache-bundle-npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | .home/.gems @@ -55,13 +55,13 @@ jobs: uses: eWaterCycle/setup-apptainer@v2.0.0 - name: Get container from cache id: cache-sif - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .singularity/image.sif key: ${{ hashFiles('container.def', 'bin/.container-tag') }} - name: Get gems and node files from cache id: cache-bundle-npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | .home/.gems @@ -86,13 +86,13 @@ jobs: uses: eWaterCycle/setup-apptainer@v2.0.0 - name: Get container from cache id: cache-sif - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .singularity/image.sif key: ${{ hashFiles('container.def', 'bin/.container-tag') }} - name: Get gems and node files from cache id: cache-bundle-npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | .home/.gems @@ -115,13 +115,13 @@ jobs: uses: eWaterCycle/setup-apptainer@v2.0.0 - name: Get container from cache id: cache-sif - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .singularity/image.sif key: ${{ hashFiles('container.def', 'bin/.container-tag') }} - name: Get gems and node files from cache id: cache-bundle-npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | .home/.gems @@ -144,13 +144,13 @@ jobs: uses: eWaterCycle/setup-apptainer@v2.0.0 - name: Get container from cache id: cache-sif - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .singularity/image.sif key: ${{ hashFiles('container.def', 'bin/.container-tag') }} - name: Get gems and node files from cache id: cache-bundle-npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | .home/.gems