We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f391ad commit d845b12Copy full SHA for d845b12
.github/workflows/go.yml
@@ -10,14 +10,20 @@ jobs:
10
build:
11
name: Build
12
runs-on: ubuntu-latest
13
+
14
+ strategy:
15
+ matrix:
16
+ go-version: ['1.21', '1.22']
17
18
steps:
- - name: Set up Go 1.17
- uses: actions/setup-go@v2
19
+ - name: Set up Go ${{ matrix.go-version }}
20
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
21
with:
- go-version: 1.17
22
+ go-version: ${{ matrix.go-version }}
23
+ check-latest: true
24
25
- name: Check out code
- uses: actions/checkout@v2
26
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
27
28
- name: Get dependencies
29
run: go get -v -t -d ./...
0 commit comments