File tree 1 file changed +4
-25
lines changed
1 file changed +4
-25
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,11 @@ on: [push]
3
3
jobs :
4
4
lint :
5
5
runs-on : ubuntu-latest
6
- strategy :
7
- matrix :
8
- go-version : [ '1.20', '1.21.x', '1.22.x' ]
9
6
steps :
10
7
- uses : actions/checkout@v4
11
- - name : Setup Go ${{ matrix.go-version }}
12
- uses : actions/setup-go@v5
8
+ - uses : actions/setup-go@v5
13
9
with :
14
- go-version : ${{ matrix.go-version }}
10
+ go-version : 1.22.x
15
11
- run : go version
16
12
17
13
- name : gofmt
@@ -24,31 +20,14 @@ jobs:
24
20
exit 1
25
21
fi
26
22
27
- # TODO: should be reproducible build
28
- # - name: go build
29
- # run: |
30
- # set -e
31
- # sha1sum timefor
32
- # go get
33
- # go list -m all
34
- # go build
35
- # out=$(git status --porcelain)
36
- # if [ -n "$out" ]; then
37
- # echo 'Run "go build" and commit binary'
38
- # echo $out
39
- # sha1sum timefor
40
- # exit 1
41
- # fi
42
-
43
23
- run : go vet
44
24
test :
45
25
runs-on : ubuntu-latest
46
26
steps :
47
27
- uses : actions/checkout@v4
48
- - name : Setup Go ${{ matrix.go-version }}
49
- uses : actions/setup-go@v5
28
+ - uses : actions/setup-go@v5
50
29
with :
51
- go-version : ${{ matrix.go-version }}
30
+ go-version : 1.22.x
52
31
- run : go version
53
32
54
33
- name : test
You can’t perform that action at this time.
0 commit comments