Skip to content

Commit 173a431

Browse files
committed
Update CI
1 parent 41946c4 commit 173a431

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,32 @@ jobs:
1515
name: lint
1616
runs-on: ubuntu-latest
1717
steps:
18+
- name: Setup
19+
uses: actions/setup-go@v2
20+
with:
21+
go-version: ${{ matrix.go }}
1822
- uses: actions/checkout@v2
19-
- name: golangci-lint
23+
- name: Get Deps
24+
run: go mod vendor
25+
- name: Lint
2026
uses: golangci/golangci-lint-action@v2
2127
with:
22-
version: v1.41
28+
version: v1.50.1
2329

2430
build:
2531
name: build
2632
runs-on: ubuntu-latest
2733
strategy:
2834
matrix:
29-
go: [1.16, 1.15]
35+
go: [1.19]
3036
steps:
3137
- name: Setup
3238
uses: actions/setup-go@v2
3339
with:
3440
go-version: ${{ matrix.go }}
3541
- name: Check out source
3642
uses: actions/checkout@v2
43+
- name: Get Deps
44+
run: go mod vendor
3745
- name: Build
3846
run: make build

0 commit comments

Comments
 (0)