Skip to content

Commit c7b54af

Browse files
vidiecanclaude
andcommitted
chore: bump actions/* to latest major versions
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9de30d5 commit c7b54af

4 files changed

Lines changed: 16 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
steps:
4444
# https://github.com/actions/checkout
4545
- name: Checkout codebase
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v6
4747

4848
# https://github.com/actions/setup-node
4949
- name: Install Node.js ${{ matrix.node-version }}
50-
uses: actions/setup-node@v3
50+
uses: actions/setup-node@v6
5151
with:
5252
node-version: ${{ matrix.node-version }}
5353

@@ -72,7 +72,7 @@ jobs:
7272
id: yarn-cache-dir-path
7373
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
7474
- name: Cache Yarn dependencies
75-
uses: actions/cache@v3
75+
uses: actions/cache@v5
7676
with:
7777
# Cache entire Yarn cache directory (see previous step)
7878
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -99,7 +99,7 @@ jobs:
9999
# so that it can be shared with the 'codecov' job (see below)
100100
# NOTE: Angular CLI only supports code coverage for specs. See https://github.com/angular/angular-cli/issues/6286
101101
- name: Upload code coverage report to Artifact
102-
uses: actions/upload-artifact@v3
102+
uses: actions/upload-artifact@v7
103103
if: matrix.node-version == '18.x'
104104
with:
105105
name: dspace-angular coverage report
@@ -133,19 +133,19 @@ jobs:
133133
# Cypress always creates a video of all e2e tests (whether they succeeded or failed)
134134
# Save those in an Artifact
135135
- name: Upload e2e test videos to Artifacts
136-
uses: actions/upload-artifact@v3
136+
uses: actions/upload-artifact@v7
137137
if: always()
138138
with:
139-
name: e2e-test-videos
139+
name: e2e-test-videos-node-${{ matrix.node-version }}
140140
path: cypress/videos
141141

142142
# If e2e tests fail, Cypress creates a screenshot of what happened
143143
# Save those in an Artifact
144144
- name: Upload e2e test failure screenshots to Artifacts
145-
uses: actions/upload-artifact@v3
145+
uses: actions/upload-artifact@v7
146146
if: failure()
147147
with:
148-
name: e2e-test-screenshots
148+
name: e2e-test-screenshots-node-${{ matrix.node-version }}
149149
path: cypress/screenshots
150150

151151
- name: Stop app (in case it stays up after e2e tests)
@@ -191,11 +191,14 @@ jobs:
191191
runs-on: ubuntu-latest
192192
steps:
193193
- name: Checkout
194-
uses: actions/checkout@v3
194+
uses: actions/checkout@v6
195195

196196
# Download artifacts from previous 'tests' job
197197
- name: Download coverage artifacts
198-
uses: actions/download-artifact@v3
198+
uses: actions/download-artifact@v8
199+
with:
200+
name: dspace-angular coverage report
201+
path: coverage
199202

200203
# Now attempt upload to Codecov using its action.
201204
# NOTE: We use a retry action to retry the Codecov upload if it fails the first time.

.github/workflows/codescan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
steps:
3232
# https://github.com/actions/checkout
3333
- name: Checkout repository
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v6
3535

3636
# Initializes the CodeQL tools for scanning.
3737
# https://github.com/github/codeql-action

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
steps:
4343
# https://github.com/actions/checkout
4444
- name: Checkout codebase
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v6
4646

4747
# https://github.com/docker/setup-buildx-action
4848
- name: Setup Docker Buildx

.github/workflows/issue_opened.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# Only add to project board if issue is flagged as "needs triage" or has no labels
1717
# NOTE: By default we flag new issues as "needs triage" in our issue template
1818
if: (contains(github.event.issue.labels.*.name, 'needs triage') || join(github.event.issue.labels.*.name) == '')
19-
uses: actions/add-to-project@v0.5.0
19+
uses: actions/add-to-project@v2
2020
# Note, the authentication token below is an ORG level Secret.
2121
# It must be created/recreated manually via a personal access token with admin:org, project, public_repo permissions
2222
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#permissions-for-the-github_token

0 commit comments

Comments
 (0)