Skip to content

Commit

Permalink
Use go version from go.mod for GHA CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hughns committed Jan 17, 2025
1 parent 00d1a58 commit b2ebbda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.20"
go-version-file: go.mod
- run: mkdir build
- run: go build -trimpath -o build/lk-jwt-service_${{ matrix.os }}_${{ matrix.arch }} ./main.go
env:
Expand Down

0 comments on commit b2ebbda

Please sign in to comment.