Skip to content

Commit

Permalink
bump lint action version, pull go versions from go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
cam-garrison committed Jun 11, 2024
1 parent b18d66b commit db643ae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version-file: go.mod
- run: make
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go env
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version-file: go.mod
- uses: actions/checkout@v4
with:
fetch-depth: 1
Expand All @@ -30,7 +30,8 @@ jobs:
make deps generate
shell: bash
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: v1.53
args: --sort-results
working-directory: go/src/github.com/${{ env.REPOSITORY }}
2 changes: 1 addition & 1 deletion .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version-file: go.mod
- run: make image

0 comments on commit db643ae

Please sign in to comment.