mirror of
https://github.com/taigrr/jety.git
synced 2026-04-01 19:08:58 -07:00
23 lines
488 B
YAML
23 lines
488 B
YAML
name: test
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go-version: ["1.24", "1.26"]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
- run: go test -race -count=1 ./...
|
|
- run: go vet ./...
|
|
- run: go install honnef.co/go/tools/cmd/staticcheck@latest && staticcheck ./...
|