Skip to content

Merge pull request #6 from gofurry/dev #27

Merge pull request #6 from gofurry/dev

Merge pull request #6 from gofurry/dev #27

Workflow file for this run

name: CI
on:
push:
branches: [main, dev]
pull_request:
permissions:
contents: read
jobs:
test:
name: ${{ matrix.os }} / Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
go: ["1.24.x", stable]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go }}
cache: true
- run: go test ./...
- run: go vet ./...
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: stable
cache: true
- run: test -z "$(gofmt -l .)"
race:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: stable
cache: true
- run: go test -race ./...