Merge pull request #3855 from nats-io/pdp/yaml-engineering-prep1.20

YAML engineering: quote go version string
This commit is contained in:
Phil Pennock
2023-02-07 18:09:12 -05:00
committed by GitHub
3 changed files with 9 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -7,7 +7,9 @@ vm:
language: go
go:
- 1.19.5
# This should be quoted or use .x, but should not be unquoted.
# Remember that a YAML bare float drops trailing zeroes.
- '1.19.5'
addons:
apt: