From bfc045aa1c01da5e9fdb9d408a3ac6aa143948a7 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sun, 27 Feb 2022 16:32:41 -0500 Subject: Build with Go 1.18rc1 Signed-off-by: Dave Henderson --- .github/workflows/build.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to '.github') 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 -- cgit v1.2.3