Skip to content

chore(ci): pin actions and apply restrictive permissions #137

chore(ci): pin actions and apply restrictive permissions

chore(ci): pin actions and apply restrictive permissions #137

Workflow file for this run

name: test
on: push
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
- "1.22"
- "1.23"
- "1.24"
name: Go ${{ matrix.go }} test
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: ${{ matrix.go }}
- run: go test -race