Skip to content

Commit

Permalink
golangci-lint action uses go version from go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
aramprice committed Oct 8, 2022
1 parent 8e45d37 commit ebdae70
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ jobs:
lint:
strategy:
matrix:
go: [1.19]
os: [macos-latest, ubuntu-latest]
name: lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v3
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v3
with:
args: --enable goimports

0 comments on commit ebdae70

Please sign in to comment.