Skip to content

Commit

Permalink
Fixup Golang version for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Nov 21, 2024
1 parent b0b10b4 commit bff9664
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: true
matrix:
os: ["ubuntu-latest"]
go: ["1.22.x"]
go: ['1.22']
runs-on: ${{ matrix.os }}
steps:
- name: "checkout"
Expand All @@ -22,7 +22,9 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
go-version: "${{ matrix.go }}"
cache: false
- run: go version
- name: "fmt"
run: if [ "$(go fmt ./... | wc -l)" -gt 0 ]; then echo "go fmt failed, please run again locally"; exit 1; fi
- name: "vet"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: true
matrix:
os: ["ubuntu-latest", "windows-latest", "macOS-latest"]
go: ["1.22.x", "1.23.x"]
go: ['1.22', '1.23']
runs-on: ${{ matrix.os }}
steps:
- name: "checkout"
Expand Down

0 comments on commit bff9664

Please sign in to comment.