Skip to content

Commit

Permalink
ci: add support for Go 1.16 to build matrix
Browse files Browse the repository at this point in the history
Involves a quick fix to cmd/testscript tests which currently rely on the
pre 1.16 behaviour of cmd/go to automatically update go.{mod,sum} as
part of any build command.
  • Loading branch information
myitcv committed Jan 18, 2021
1 parent 61546fa commit 836779d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.14.x, 1.15.x]
go-version: [1.14.x, 1.15.x, 1.16beta1]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
1 change: 1 addition & 0 deletions cmd/testscript/testdata/simple.txt
Expand Up @@ -11,6 +11,7 @@ stdout 'example.com/mod'

-- file.txt --
>env GOMODCACHE=$WORK
>go get -d fruit.com
>go list -m
>stdout 'example.com/mod'
>go list fruit.com/...
Expand Down

0 comments on commit 836779d

Please sign in to comment.