| 1 |
name: Test |
| 2 |
|
| 3 |
on: |
| 4 |
push: |
| 5 |
paths-ignore: |
| 6 |
- "**.md" |
| 7 |
- "**.png" |
| 8 |
- "**.ipynb" |
| 9 |
- "**.xcf" |
| 10 |
- "LICENSE" |
| 11 |
pull_request: |
| 12 |
paths-ignore: |
| 13 |
- "**.md" |
| 14 |
- "**.png" |
| 15 |
- "**.ipynb" |
| 16 |
- "**.xcf" |
| 17 |
- "LICENSE" |
| 18 |
|
| 19 |
jobs: |
| 20 |
test: |
| 21 |
runs-on: ubuntu-latest |
| 22 |
strategy: |
| 23 |
fail-fast: false |
| 24 |
matrix: |
| 25 |
go-version: ["1.22", "1.23"] |
| 26 |
steps: |
| 27 |
- uses: actions/checkout@v4 |
| 28 |
- name: Install Go |
| 29 |
uses: actions/setup-go@v5 |
| 30 |
with: |
| 31 |
go-version: ${{ matrix.go-version }} |
| 32 |
- name: Test |
| 33 |
run: | |
| 34 |
go test -race ./... |