mirror of
https://github.com/vee1e/runtimeclass-debugger.git
synced 2026-09-02 02:38:02 +00:00
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.
32 lines
531 B
YAML
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
|