Skip to content

Commit

Permalink
surround 1.20 with quotes in github action because yaml parses it as …
Browse files Browse the repository at this point in the history
…the number 1.2
  • Loading branch information
bradenaw committed Nov 25, 2023
1 parent e9848b7 commit f2ed395
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/go1.18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
stable: false
go-version: '1.18'

- name: Build
run: go build -v ./...
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/go1.19.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
stable: false
go-version: '1.19'

- name: Build
run: go build -v ./...
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/go1.20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20
stable: false
go-version: '1.20'

- name: Build
run: go build -v ./...
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/go1.21.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
stable: false
go-version: '1.21'

- name: Build
run: go build -v ./...
Expand Down

0 comments on commit f2ed395

Please sign in to comment.