Skip to content

Bump actions/setup-go from 4 to 5 #316

Bump actions/setup-go from 4 to 5

Bump actions/setup-go from 4 to 5 #316

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '40 1 * * 2'
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go test -v -race ./...
vet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go vet ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: golangci/[email protected]
with:
args: --config .golangci.yml