github.com/puzpuzpuz/xsync/v2@v2.5.2-0.20231021165734-92b8269e19a9/.github/workflows/build-1.18.yml (about) 1 name: build-1.18 2 on: [push] 3 4 jobs: 5 test: 6 runs-on: ubuntu-latest 7 strategy: 8 matrix: 9 go-version: [1.18.x] 10 name: Build with Go ${{ matrix.go-version }} 11 steps: 12 - uses: actions/checkout@v3 13 14 - name: Install Go 15 uses: actions/setup-go@v3 16 with: 17 go-version: ${{ matrix.go-version }} 18 19 - name: Run tests 20 run: go test -v ./... 21 22 - name: Run tests with race detector 23 run: go test -timeout 10m -race -v ./...