Skip to content

Commit

Permalink
ci: update github actions to use node.js 20 (#47)
Browse files Browse the repository at this point in the history
Update deprecated Node.js 16 actions in commitlint.yml and go.yml
to use Node.js 20.

Signed-off-by: ccowman <[email protected]>
  • Loading branch information
ConorC117 authored Apr 10, 2024
1 parent 2d9bd5e commit 81151bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Print versions
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.19'

Expand All @@ -27,14 +27,14 @@ jobs:
run: make test

- name: Upload Go coverage results - HTML
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: go-coverage
name: go-coverage-html
path: coverage.html

- name: Upload Go coverage results - txt
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: go-coverage
name: go-coverage-txt
path: coverage.txt

0 comments on commit 81151bf

Please sign in to comment.