Skip to content

Commit 15f52b0

Browse files
Go version update to 1.18 in GitHub actions
* "setup-go", "checkout" and "golangci-lint-action" actions updated to v3
1 parent e04edde commit 15f52b0

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/build-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Set up Go
14-
uses: actions/setup-go@v2
14+
uses: actions/setup-go@v3
1515
with:
16-
go-version: 1.15
16+
go-version: 1.18
1717

1818
- name: Check out code
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3
2020

2121
- name: Test
2222
run: go test .

.github/workflows/lint-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1414
- name: Run golangci-lint
15-
uses: golangci/golangci-lint-action@v2
15+
uses: golangci/golangci-lint-action@v3
1616
with:
1717
version: latest
1818
args: --timeout 5m

.github/workflows/release-binary.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
steps:
1212
-
1313
name: "Check out code"
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515
with:
1616
fetch-depth: 0
1717
-
1818
name: "Set up Go"
19-
uses: actions/setup-go@v2
19+
uses: actions/setup-go@v3
2020
with:
21-
go-version: 1.16
21+
go-version: 1.18
2222
-
2323
env:
2424
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)