Merge pull request #574 from pkg/ISSUE-572-safer-double-close #319
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
run-tests: | |
name: Run test cases | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
go: ['1.22', '1.21'] | |
exclude: | |
- os: macos-latest | |
go: '1.21' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Run tests | |
run: | | |
make integration | |
make integration_w_race | |
- name: Run tests on 32-bit arch | |
if: startsWith(matrix.os, 'ubuntu-') | |
run: | | |
make integration | |
env: | |
GOARCH: 386 |