Skip to content

Commit

Permalink
Try fixing linter error
Browse files Browse the repository at this point in the history
fix is based on this comment: golangci/golangci-lint-action#442 (comment)
  • Loading branch information
gabriel-vasile authored Apr 17, 2022
1 parent f765f80 commit e638166
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
name: run tests
jobs:
lint:
strategy:
matrix:
go-version: ["1.18.x"]
runs-on: ubuntu-latest
steps:
- name: Install Go
Expand All @@ -19,11 +22,12 @@ jobs:
uses: golangci/[email protected]
with:
version: "v1.37.1"
go-version: ${{ matrix.go-version }}

test:
strategy:
matrix:
go-version: ["1.12.0", "^1.17.6"]
go-version: ["1.12.0", "1.18.x"]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand Down

0 comments on commit e638166

Please sign in to comment.