Skip to content

Commit 55cc22f

Browse files
committed
Cleanup CI workflow
1 parent dc6988e commit 55cc22f

File tree

1 file changed

+4
-25
lines changed

1 file changed

+4
-25
lines changed

.github/workflows/check.yaml

+4-25
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@ 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' ]
96
steps:
107
- uses: actions/checkout@v4
11-
- name: Setup Go ${{ matrix.go-version }}
12-
uses: actions/setup-go@v5
8+
- uses: actions/setup-go@v5
139
with:
14-
go-version: ${{ matrix.go-version }}
10+
go-version: 1.22.x
1511
- run: go version
1612

1713
- name: gofmt
@@ -24,31 +20,14 @@ jobs:
2420
exit 1
2521
fi
2622
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-
4323
- run: go vet
4424
test:
4525
runs-on: ubuntu-latest
4626
steps:
4727
- uses: actions/checkout@v4
48-
- name: Setup Go ${{ matrix.go-version }}
49-
uses: actions/setup-go@v5
28+
- uses: actions/setup-go@v5
5029
with:
51-
go-version: ${{ matrix.go-version }}
30+
go-version: 1.22.x
5231
- run: go version
5332

5433
- name: test

0 commit comments

Comments
 (0)