diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9b7f770ce..484c5b24e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.14.x, 1.15.x] + go-version: [1.14.x, 1.15.x, 1.16.0-rc1] rootless: ["rootless", ""] steps: @@ -40,6 +40,7 @@ jobs: - name: install go ${{ matrix.go-version }} uses: actions/setup-go@v2 with: + stable: '!contains(${{ matrix.go-version }}, "beta") && !contains(${{ matrix.go-version }}, "rc")' go-version: ${{ matrix.go-version }} - name: build diff --git a/tests/integration/spec.bats b/tests/integration/spec.bats index a7da337f0..5bcac80ba 100644 --- a/tests/integration/spec.bats +++ b/tests/integration/spec.bats @@ -33,8 +33,8 @@ function teardown() { SCHEMA='runtime-spec/schema/config-schema.json' [ -e "$SCHEMA" ] - go get github.com/xeipuuv/gojsonschema - go build runtime-spec/schema/validate.go + GO111MODULE=auto go get github.com/xeipuuv/gojsonschema + GO111MODULE=auto go build runtime-spec/schema/validate.go ./validate "$SCHEMA" config.json }