Skip to content

Commit 35932c0

Browse files
chore: updage github action to use node v24 (#4112)
1 parent af78540 commit 35932c0

File tree

10 files changed

+140
-142
lines changed

10 files changed

+140
-142
lines changed

.github/workflows/cron-cleanup-workflow-runs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
workflow_dispatch:
44
schedule:
55
- cron: "0 8 * * *"
6-
6+
# monitor the new release for Mattraks/delete-workflow-runs
77
jobs:
88
del_runs:
99
runs-on: ubuntu-latest

.github/workflows/cypress.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- 15672:15672
3434
- 5672:5672
3535
steps:
36-
- uses: actions/checkout@v2
36+
- uses: actions/checkout@v6.0.2
3737

3838
- name: Build Backend Service
3939
run: docker build -t backend-service -f ./backend/Dockerfile ./backend
@@ -57,7 +57,7 @@ jobs:
5757
run: docker run -d --name frontend --network=host -e DB_CYPRESS_PASS=development_only -e DB_CYPRESS_USER=lcfs frontend-service
5858

5959
- name: Cypress run
60-
uses: cypress-io/github-action@v6
60+
uses: cypress-io/github-action@v7.1.8
6161
with:
6262
headed: false
6363
browser: electron
@@ -83,14 +83,14 @@ jobs:
8383
CYPRESS_BROWSER_ARGS: --no-sandbox
8484
- name: Upload Cypress Artifacts
8585
if: failure()
86-
uses: actions/upload-artifact@v4
86+
uses: actions/upload-artifact@v7.0.0
8787
with:
8888
name: cypress-artifacts
8989
path: |
9090
frontend/cypress/screenshots
9191
frontend/cypress/videos
9292
frontend/cypress/reports
93-
93+
9494
# Print backend logs if something goes wrong
9595
- name: Print backend logs
9696
if: failure()
@@ -179,4 +179,3 @@ jobs:
179179
EOF
180180
181181
curl -H "Content-Type: application/json" -d @teams_card.json "${{ secrets.TEAMS_WEBHOOK_URL }}"
182-

.github/workflows/dev-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
cache-hit: ${{ steps.cache.outputs.cache-hit }}
2828
steps:
2929
- name: Check out repository
30-
uses: actions/checkout@v4.1.1
30+
uses: actions/checkout@v6.0.2
3131

3232
- name: Set up cache for OpenShift CLI
3333
id: cache
34-
uses: actions/cache@v4.2.0
34+
uses: actions/cache@v5.0.4
3535
with:
3636
path: /usr/local/bin/oc # Path where the `oc` binary will be installed
3737
key: oc-cli-${{ runner.os }}
@@ -70,10 +70,10 @@ jobs:
7070

7171
steps:
7272
- name: Check out repository
73-
uses: actions/checkout@v4.1.1
73+
uses: actions/checkout@v6.0.2
7474

7575
- name: Restore oc command from Cache
76-
uses: actions/cache@v4.2.0
76+
uses: actions/cache@v5.0.4
7777
with:
7878
path: /usr/local/bin/oc
7979
key: oc-cli-${{ runner.os }}
@@ -121,14 +121,14 @@ jobs:
121121

122122
steps:
123123
- name: Checkout Manifest repository
124-
uses: actions/checkout@v4.1.1
124+
uses: actions/checkout@v6.0.2
125125
with:
126126
repository: bcgov-c/tenant-gitops-d2bd59
127127
ref: main
128128
ssh-key: ${{ secrets.MANIFEST_REPO_DEPLOY_KEY }}
129129

130130
- name: Update tags
131-
uses: mikefarah/yq@v4.40.5
131+
uses: mikefarah/yq@v4.52.4
132132
with:
133133
cmd: |
134134
yq -i '.image.tag = "${{ env.VERSION }}-${{ env.PRE_RELEASE }}"' lcfs/charts/lcfs-frontend/values-dev.yaml

.github/workflows/pr-build.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
cache-hit: ${{ steps.cache.outputs.cache-hit }}
2626
steps:
2727
- name: Check out repository
28-
uses: actions/checkout@v4.1.1
28+
uses: actions/checkout@v6.0.2
2929

3030
- name: Set up cache for OpenShift CLI
3131
id: cache
32-
uses: actions/cache@v4.2.0
32+
uses: actions/cache@v5.0.4
3333
with:
3434
path: /usr/local/bin/oc # Path where the `oc` binary will be installed
3535
key: oc-cli-${{ runner.os }}
@@ -58,7 +58,7 @@ jobs:
5858

5959
steps:
6060
- name: Restore oc command from Cache
61-
uses: actions/cache@v4.2.0
61+
uses: actions/cache@v5.0.4
6262
with:
6363
path: /usr/local/bin/oc
6464
key: oc-cli-${{ runner.os }}
@@ -98,12 +98,12 @@ jobs:
9898

9999
steps:
100100
- name: Check out repository
101-
uses: actions/checkout@v4.1.1
101+
uses: actions/checkout@v6.0.2
102102
with:
103103
ref: ${{ github.event.pull_request.head.ref }}
104104

105105
- name: Restore oc command from Cache
106-
uses: actions/cache@v4.2.0
106+
uses: actions/cache@v5.0.4
107107
with:
108108
path: /usr/local/bin/oc
109109
key: oc-cli-${{ runner.os }}
@@ -156,14 +156,14 @@ jobs:
156156

157157
steps:
158158
- name: Checkout Manifest repository
159-
uses: actions/checkout@v4.1.1
159+
uses: actions/checkout@v6.0.2
160160
with:
161161
repository: bcgov-c/tenant-gitops-d2bd59
162162
ref: main
163163
ssh-key: ${{ secrets.MANIFEST_REPO_DEPLOY_KEY }}
164164

165165
- name: Restore oc command from Cache
166-
uses: actions/cache@v4.2.0
166+
uses: actions/cache@v5.0.4
167167
with:
168168
path: /usr/local/bin/oc
169169
key: oc-cli-${{ runner.os }}
@@ -177,7 +177,7 @@ jobs:
177177
namespace: ${{ env.TOOLS_NAMESPACE }}
178178

179179
- name: Update values-dev-pr.yaml for frentend and backend
180-
uses: mikefarah/yq@v4.40.5
180+
uses: mikefarah/yq@v4.52.4
181181
with:
182182
cmd: |
183183
yq -i '.image.tag = "${{ env.VERSION }}-${{ env.PR_NUMBER }}"' lcfs/charts/lcfs-frontend/values-dev-pr.yaml

.github/workflows/pr-review.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Send PR Review Notification to Teams
16-
uses: actions/github-script@v6
16+
uses: actions/github-script@v8.0.0
1717
with:
1818
github-token: ${{ secrets.GITHUB_TOKEN }}
1919
script: |

.github/workflows/pr-teardown.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010

1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}
13-
cancel-in-progress: true
13+
cancel-in-progress: true
1414

1515
jobs:
1616
install-oc:
@@ -19,13 +19,13 @@ jobs:
1919
cache-hit: ${{ steps.cache.outputs.cache-hit }}
2020
steps:
2121
- name: Check out repository
22-
uses: actions/checkout@v4.1.1
22+
uses: actions/checkout@v6.0.2
2323

2424
- name: Set up cache for OpenShift CLI
2525
id: cache
26-
uses: actions/cache@v4.2.0
26+
uses: actions/cache@v5.0.4
2727
with:
28-
path: /usr/local/bin/oc # Path where the `oc` binary will be installed
28+
path: /usr/local/bin/oc # Path where the `oc` binary will be installed
2929
key: oc-cli-${{ runner.os }}
3030

3131
- name: Install OpenShift CLI (if not cached)
@@ -49,9 +49,8 @@ jobs:
4949
timeout-minutes: 60
5050

5151
steps:
52-
5352
- name: Restore oc command from Cache
54-
uses: actions/cache@v4.2.0
53+
uses: actions/cache@v5.0.4
5554
with:
5655
path: /usr/local/bin/oc
5756
key: oc-cli-${{ runner.os }}

0 commit comments

Comments
 (0)