Skip to content

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

Bump actions/setup-go from 4 to 5

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

Workflow file for this run

name: Go
on:
push:
branches:
- main
- v[0-9]*
pull_request:
branches:
- main
- v[0-9]*
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "src/go.mod"
- run: go run github.com/onsi/ginkgo/v2/ginkgo -r --randomize-all --randomize-suites --fail-on-pending --keep-going --race --trace
working-directory: src
vet:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "src/go.mod"
- run: go vet $(go list ./... | grep -v internal/promql$)
working-directory: src
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "src/go.mod"
- uses: golangci/[email protected]
with:
args: --config .golangci.yml
working-directory: src