Skip to content

Commit

Permalink
Merge pull request #15 from cloudfoundry/gh-action-uses-gomod-for-ver…
Browse files Browse the repository at this point in the history
…sion

golangci-lint action uses go version from go.mod
  • Loading branch information
aramprice authored Oct 7, 2022
2 parents 32e728d + 03c9ccb commit 180e5d6
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 180e5d6

Please sign in to comment.