Skip to content

change go build cache to /tmp #208

change go build cache to /tmp

change go build cache to /tmp #208

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go Compatible
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
tests-with-older-go-versions:
strategy:
matrix:
os: [ ubuntu-latest]
go: [ '1.17','1.18','1.19','1.20','1.21']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '${{ matrix.go }}'
- name: Test
run: go run ./script/run-test --install-xgo --reset-instrument --debug -v