Skip to content

Commit 6a30e67

Browse files
Merge pull request #406 from riscv-software-src/dev/kbroch/update-gh-action-versions
updating actions to latest versions
2 parents 5846c50 + 47beccd commit 6a30e67

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

.github/workflows/nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
outputs:
1414
should_run: ${{ steps.should_run.outputs.should_run }}
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- name: print latest_commit
1818
run: echo ${{ github.sha }}
1919

2020
- id: should_run
2121
continue-on-error: true
2222
name: check latest commit is less than a day
2323
if: ${{ github.event_name == 'schedule' }}
24-
run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false"
24+
run: test -z "$(git rev-list --after='24 hours' ${{ github.sha }})" && echo "name=should_run::false" >> "$GITHUB_OUTPUT"
2525
nightly:
2626
needs: check_date
2727
if: ${{ needs.check_date.outputs.should_run != 'false' }}
@@ -35,13 +35,13 @@ jobs:
3535
uses: eWaterCycle/[email protected]
3636
- name: Get container from cache
3737
id: cache-sif
38-
uses: actions/cache@v3
38+
uses: actions/cache@v4
3939
with:
4040
path: .singularity/image.sif
4141
key: ${{ hashFiles('container.def', 'bin/.container-tag') }}
4242
- name: Get gems and node files from cache
4343
id: cache-bundle-npm
44-
uses: actions/cache@v3
44+
uses: actions/cache@v4
4545
with:
4646
path: |
4747
.home/.gems

.github/workflows/pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
uses: eWaterCycle/[email protected]
2727
- name: Get container from cache
2828
id: cache-sif
29-
uses: actions/cache@v3
29+
uses: actions/cache@v4
3030
with:
3131
path: .singularity/image.sif
3232
key: ${{ hashFiles('container.def', 'bin/.container-tag') }}
3333
- name: Get gems and node files from cache
3434
id: cache-bundle-npm
35-
uses: actions/cache@v3
35+
uses: actions/cache@v4
3636
with:
3737
path: |
3838
.home/.gems

.github/workflows/regress.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
regress-pre-commit:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-python@v3
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-python@v5
1313
- uses: pre-commit/[email protected]
1414
regress-smoke:
1515
runs-on: ubuntu-latest
@@ -22,13 +22,13 @@ jobs:
2222
uses: eWaterCycle/[email protected]
2323
- name: Get container from cache
2424
id: cache-sif
25-
uses: actions/cache@v3
25+
uses: actions/cache@v4
2626
with:
2727
path: .singularity/image.sif
2828
key: ${{ hashFiles('container.def', 'bin/.container-tag') }}
2929
- name: Get gems and node files from cache
3030
id: cache-bundle-npm
31-
uses: actions/cache@v3
31+
uses: actions/cache@v4
3232
with:
3333
path: |
3434
.home/.gems
@@ -55,13 +55,13 @@ jobs:
5555
uses: eWaterCycle/[email protected]
5656
- name: Get container from cache
5757
id: cache-sif
58-
uses: actions/cache@v3
58+
uses: actions/cache@v4
5959
with:
6060
path: .singularity/image.sif
6161
key: ${{ hashFiles('container.def', 'bin/.container-tag') }}
6262
- name: Get gems and node files from cache
6363
id: cache-bundle-npm
64-
uses: actions/cache@v3
64+
uses: actions/cache@v4
6565
with:
6666
path: |
6767
.home/.gems
@@ -86,13 +86,13 @@ jobs:
8686
uses: eWaterCycle/[email protected]
8787
- name: Get container from cache
8888
id: cache-sif
89-
uses: actions/cache@v3
89+
uses: actions/cache@v4
9090
with:
9191
path: .singularity/image.sif
9292
key: ${{ hashFiles('container.def', 'bin/.container-tag') }}
9393
- name: Get gems and node files from cache
9494
id: cache-bundle-npm
95-
uses: actions/cache@v3
95+
uses: actions/cache@v4
9696
with:
9797
path: |
9898
.home/.gems
@@ -115,13 +115,13 @@ jobs:
115115
uses: eWaterCycle/[email protected]
116116
- name: Get container from cache
117117
id: cache-sif
118-
uses: actions/cache@v3
118+
uses: actions/cache@v4
119119
with:
120120
path: .singularity/image.sif
121121
key: ${{ hashFiles('container.def', 'bin/.container-tag') }}
122122
- name: Get gems and node files from cache
123123
id: cache-bundle-npm
124-
uses: actions/cache@v3
124+
uses: actions/cache@v4
125125
with:
126126
path: |
127127
.home/.gems
@@ -144,13 +144,13 @@ jobs:
144144
uses: eWaterCycle/[email protected]
145145
- name: Get container from cache
146146
id: cache-sif
147-
uses: actions/cache@v3
147+
uses: actions/cache@v4
148148
with:
149149
path: .singularity/image.sif
150150
key: ${{ hashFiles('container.def', 'bin/.container-tag') }}
151151
- name: Get gems and node files from cache
152152
id: cache-bundle-npm
153-
uses: actions/cache@v3
153+
uses: actions/cache@v4
154154
with:
155155
path: |
156156
.home/.gems

0 commit comments

Comments
 (0)