.github/workflows/tests.yml
raw| 1 | name: Unit Tests |
| 2 | on: [push, pull_request] |
| 3 | jobs: |
| 4 | go_tests: |
| 5 | strategy: |
| 6 | matrix: |
| 7 | os: |
| 8 | - ubuntu-latest |
| 9 | - macos-latest |
| 10 | - windows-latest |
| 11 | go: |
| 12 | - '1.23' |
| 13 | - '1.24' |
| 14 | name: Go Tests |
| 15 | runs-on: ${{ matrix.os }} |
| 16 | steps: |
| 17 | - uses: actions/checkout@v3 |
| 18 | - uses: actions/setup-go@v3 |
| 19 | with: |
| 20 | go-version: ${{ matrix.go }} |
| 21 | - run: go test ./... |
| 22 | - run: go test -tags landlocktsync ./... |