Skip to content

Commit bad82d1

Browse files
committed
Update node and actions versions in workflow
Use node 18 LTS and latest versions of the workflow actions. Signed-off-by: Chris. Webster <chris@webstech.net>
1 parent e4e1fef commit bad82d1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build-and-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
node-version: [16.x]
37+
node-version: [18.x]
3838
os: [ubuntu-latest, windows-latest]
3939
runs-on: ${{ matrix.os }}
4040

@@ -49,7 +49,7 @@ jobs:
4949

5050
steps:
5151
# Check out repo under sub-dir so other repo can be checked out
52-
- uses: actions/checkout@v2
52+
- uses: actions/checkout@v3
5353
with:
5454
path: gitgitgadget
5555

@@ -90,14 +90,14 @@ jobs:
9090
if: env.GGG_SMTP_USER || env.GGG_SMTP_PASS || env.GGG_SMTP_HOST
9191

9292
# Check out github-glue.test.ts repo if configured for it
93-
- uses: actions/checkout@v2
93+
- uses: actions/checkout@v3
9494
with:
9595
repository: ${{ github.repository_owner }}/${{ env.GGG_REPOSITORY }}
9696
token: ${{ env.GGG_TOKEN }}
9797
path: ${{ env.GGG_REPOSITORY }}
9898
if: env.GGG_TOKEN
9999

100-
- uses: actions/setup-node@v1
100+
- uses: actions/setup-node@v3
101101
with:
102102
node-version: '${{ matrix.node-version }}' # optional, default is 10.x
103103

@@ -120,7 +120,7 @@ jobs:
120120
working-directory: gitgitgadget
121121

122122
- name: Clean up two day old branches and PRs
123-
uses: actions/github-script@v3
123+
uses: actions/github-script@v6
124124
id: clean-up
125125
with:
126126
github-token: ${{ env.GGG_TOKEN }}

0 commit comments

Comments
 (0)