Skip to content

Commit

Permalink
use go version from go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimpel authored May 11, 2024
1 parent 65b4556 commit 2abff8a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: golangci-lint
name: Golang ci
on:
# don't build any branch other than master (and prs) when git pushed
pull_request: {}
Expand All @@ -10,15 +10,14 @@ jobs:
golangci:
strategy:
matrix:
go: ['1.21']
os: [ubuntu-latest, macos-latest]
name: lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
with:
Expand Down

0 comments on commit 2abff8a

Please sign in to comment.