mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
YAML engineering: quote go version string
We're currently using Go 1.19; we'll switch to 1.20 when the NATS Maintainers make the call to switch. Prepare by making sure that 1.20 won't turn into 1.2 instead, by quoting the string to be updated and adding a warning.
This commit is contained in:
4
.github/workflows/go-test.yaml
vendored
4
.github/workflows/go-test.yaml
vendored
@@ -5,7 +5,9 @@ jobs:
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
go: [1.16]
|
||||
# This should be quoted or use .x, but should not be unquoted.
|
||||
# Remember that a YAML bare float drops trailing zeroes.
|
||||
go: ['1.16']
|
||||
|
||||
env:
|
||||
GOPATH: /home/runner/work/nats-server
|
||||
|
||||
4
.github/workflows/nightly.yaml
vendored
4
.github/workflows/nightly.yaml
vendored
@@ -24,7 +24,9 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.19
|
||||
# This should be quoted or use .x, but should not be unquoted.
|
||||
# Remember that a YAML bare float drops trailing zeroes.
|
||||
go-version: '1.19'
|
||||
|
||||
- name: goreleaser
|
||||
uses: goreleaser/goreleaser-action@v3
|
||||
|
||||
Reference in New Issue
Block a user