summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2022-02-27 16:32:41 -0500
committerDave Henderson <dhenderson@gmail.com>2022-02-27 16:57:14 -0500
commitbfc045aa1c01da5e9fdb9d408a3ac6aa143948a7 (patch)
tree3a0395e4ee68a06479b48753c8a7207fba77edac /.github
parent5f87a079db6ee741812ef7c2e88bd741f5a58f31 (diff)
Build with Go 1.18rc1
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml13
1 files changed, 10 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 35fe0123..9c3a4932 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -6,7 +6,7 @@ jobs:
linux-build:
runs-on: ubuntu-latest
container:
- image: ghcr.io/hairyhenderson/gomplate-ci-build:latest
+ image: ghcr.io/hairyhenderson/gomplate-ci-build:1.18
steps:
- run: |
git config --global user.email "bogus@example.com"
@@ -17,6 +17,7 @@ jobs:
- run: make build
env:
GOPATH: ${{ runner.workspace }}
+ ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH: go1.18rc1
- name: Save binary
uses: actions/upload-artifact@v2.3.1
with:
@@ -36,17 +37,21 @@ jobs:
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
GOPATH: ${{ runner.workspace }}
+ ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH: go1.18rc1
- run: make integration
env:
GOPATH: ${{ runner.workspace }}
+ ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH: go1.18rc1
windows-build:
runs-on: windows-latest
env:
TMP: D:\tmp
+ ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH: go1.18rc1
steps:
- - uses: actions/setup-go@v1
+ - uses: actions/setup-go@v2
with:
- go-version: 1.17.x
+ stable: 'false'
+ go-version: '1.18.0-rc1'
- run: |
git config --global user.email "bogus@example.com"
git config --global user.name "Someone"
@@ -76,3 +81,5 @@ jobs:
with:
path: ./src/github.com/${{ github.repository }}
- run: make ci-lint
+ env:
+ ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH: go1.18rc1