Skip to content

Commit 39d1481

Browse files
committed
.github: update workflows with latest actions and Go version
Signed-off-by: tr1sm0s1n <[email protected]>
1 parent a276c16 commit 39d1481

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

.github/workflows/test.yaml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: node-crawler workflow
22

3-
43
on:
54
push:
65
branches:
@@ -16,26 +15,26 @@ jobs:
1615
lint:
1716
runs-on: ubuntu-latest
1817
steps:
19-
- uses: actions/checkout@v2
20-
- name: Set up Go
21-
uses: actions/setup-go@v2
22-
with:
23-
go-version: 1.20.5
24-
- name: Download golangci-lint
25-
run: wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s latest
26-
- name: Lint
27-
run: ./bin/golangci-lint run --config .golangci.yml
28-
- name: Vet
29-
run: go vet ./...
18+
- uses: actions/checkout@v4
19+
- name: Set up Go
20+
uses: actions/setup-go@v5
21+
with:
22+
go-version: 1.24.2
23+
- name: Download golangci-lint
24+
run: wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s latest
25+
- name: Lint
26+
run: ./bin/golangci-lint run --config .golangci.yml
27+
- name: Vet
28+
run: go vet ./...
3029

3130
test:
3231
runs-on: ubuntu-latest
3332
needs: lint
3433
steps:
35-
- uses: actions/checkout@v2
36-
- name: Set up Go
37-
uses: actions/setup-go@v2
38-
with:
39-
go-version: 1.20.5
40-
- name: Test
41-
run: go test -v ./...
34+
- uses: actions/checkout@v4
35+
- name: Set up Go
36+
uses: actions/setup-go@v5
37+
with:
38+
go-version: 1.24.2
39+
- name: Test
40+
run: go test -v ./...

0 commit comments

Comments
 (0)