runtimeclass-debugger/.github/workflows/ci.yml
lakshit verma 9e221418dc
ci: bump golangci-lint to v2.12.2
v1.64.8 was built with Go 1.24, but go.mod targets go 1.25.12, so the
lint step failed with "the Go language version used to build
golangci-lint is lower than the targeted Go version". v2.12.2 is built
with Go 1.26 and loads the module.
2026-08-08 01:04:50 +05:30

32 lines
531 B
YAML

name: ci
on:
push:
branches: [main, master]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25.x'
- name: Build
run: go build ./...
- name: Vet
run: go vet ./...
- name: Test
run: go test ./...
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: v2.12.2