Skip to content

Commit a8f919e

Browse files
committed
update .github/workflows/test.yml to use latest go instead of go 1.16
1 parent 084511f commit a8f919e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: 'Clone repo'
1111
uses: 'actions/checkout@v4'
1212
- name: 'Install go'
13-
uses: 'actions/setup-go@v5'
13+
uses: 'actions/setup-go@v6'
1414
with:
1515
go-version: 'stable'
1616
- run: 'GOOS=linux GOARCH=amd64 go build -ldflags "-w" -o wgo-linux .'

.github/workflows/tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ jobs:
99
runs-on: 'ubuntu-latest'
1010
steps:
1111
- name: 'Clone repo'
12-
uses: 'actions/checkout@v3'
12+
uses: 'actions/checkout@v4'
1313
- name: 'Install go'
14-
uses: 'actions/setup-go@v4'
15-
with:
16-
go-version: '1.16.0'
14+
uses: 'actions/setup-go@v6'
1715
- run: 'go install github.com/mattn/goveralls@latest'
1816
- run: 'go test . -coverprofile=coverage -race'
1917
- run: 'goveralls -coverprofile=coverage -service=github || true'

0 commit comments

Comments
 (0)