Skip to content

Commit 23a13b5

Browse files
ldezbkielbasa
authored andcommitted
fix: GitHub Action workflow
1 parent 9a00703 commit 23a13b5

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/go.yml

+8-10
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,23 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-go@v5
16+
with:
17+
go-version: stable
1518
- name: golangci-lint
16-
uses: golangci/golangci-lint-action@v2
19+
uses: golangci/golangci-lint-action@v6
1720
with:
1821
version: v1.61.0
1922

2023
build:
2124
name: Build
2225
runs-on: ubuntu-latest
2326
steps:
24-
25-
- name: Set up Go 1.x
26-
uses: actions/setup-go@v2
27+
- uses: actions/checkout@v4
28+
- uses: actions/setup-go@v5
2729
with:
28-
go-version: ^1.20
29-
id: go
30-
31-
- name: Check out code into the Go module directory
32-
uses: actions/checkout@v2
30+
go-version: stable
3331

3432
- name: Run Unit tests
3533
run: |

0 commit comments

Comments
 (0)