Skip to content

Commit e403e7e

Browse files
author
Dean Karn
committed
misc
1 parent 75f0d82 commit e403e7e

File tree

2 files changed

+11
-26
lines changed

2 files changed

+11
-26
lines changed

.github/workflows/workflow.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,24 @@ on:
66

77
name: Test
88
jobs:
9-
lint:
10-
name: Lint
9+
golangci:
10+
name: lint
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Check out code
14-
uses: actions/checkout@v2
15-
16-
- name: Run linter
17-
uses: golangci/golangci-lint-action@v2
13+
- uses: actions/setup-go@v3
14+
with:
15+
go-version: 1.20.x
16+
- uses: actions/checkout@v3
17+
- name: golangci-lint
18+
uses: golangci/golangci-lint-action@v3
1819
with:
19-
version: v1.35.2
20+
version: latest
2021

2122
test:
2223
name: Test
2324
strategy:
2425
matrix:
25-
go-version: [1.14.x, 1.15.x]
26+
go-version: [1.17.x, 1.18.x, 1.20.x]
2627
os: [ubuntu-latest, macos-latest]
2728
runs-on: ${{ matrix.os }}
2829
steps:
@@ -46,7 +47,7 @@ jobs:
4647
run: go test -race -covermode=atomic -coverprofile="coverage.out" ./...
4748

4849
- name: Upload coverage report to Coveralls
49-
if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.15.x'
50+
if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.18.x'
5051
uses: shogo82148/actions-goveralls@v1
5152
with:
5253
path-to-profile: coverage.out

.golangci.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)