Skip to content

Commit 9b8c81b

Browse files
committed
Fix github actions
1 parent 8771afa commit 9b8c81b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/check.yaml

+7-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@ on: [push]
33
jobs:
44
lint:
55
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
go-version: [ '1.20', '1.21.x', '1.22.x' ]
69
steps:
7-
- uses: actions/checkout@v2
8-
- uses: actions/setup-go@v2
10+
- uses: actions/checkout@v4
11+
- name: Setup Go ${{ matrix.go-version }}
12+
uses: actions/setup-go@v4
913
with:
10-
go-version: '1.15.2'
14+
go-version: ${{ matrix.go-version }}
1115
- run: go version
1216

1317
- name: gofmt

timefor

16 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)