| # Generated by internal/ci/ci_tool.cue; do not edit |
| runs-on: ${{ matrix.os }} |
| uses: actions/setup-go@v2 |
| go-version: ${{ matrix.go-version }} |
| uses: actions/checkout@v2 |
| key: ${{ runner.os }}-${{ matrix.go-version }}-go-${{ hashFiles('**/go.sum') |
| restore-keys: ${{ runner.os }}-${{ matrix.go-version }}-go- |
| - if: matrix.go-version == '1.14.9' && matrix.os != 'windows-latest' |
| run: go run golang.org/x/exp/cmd/gorelease |
| - name: Check that git is clean post generate and tests |
| run: test -z "$(git status --porcelain)" || (git status; git diff; false) |
| - if: github.ref == 'refs/heads/master' |
| name: Pull this commit through the proxy on master |
| GOPROXY=https://proxy.golang.org go get -d cuelang.org/go@$v |