Skip to content

Commit

Permalink
make go versions strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning committed Jul 16, 2023
1 parent c7168e0 commit d540371
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.20
go-version: '1.20'
- name: Check diff between gofmt and code
run: diff <(gofmt -d .) <(echo -n)

test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.18, 1.19, 1.20]
go-version: ['1.18', '1.19', '1.20']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand All @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.20
go-version: '1.20'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down

0 comments on commit d540371

Please sign in to comment.