Replace golangci-lint action and megalinter with make lint-go

The megalinter ghcr.io image pull is denied, and the golangci-lint
action version was inconsistent with the Makefile-pinned version.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
silverwind
2026-02-24 15:28:30 +01:00
parent 44da20bd14
commit f300931212

View File

@@ -25,14 +25,7 @@ jobs:
with:
go-version-file: go.mod
check-latest: true
- uses: golangci/golangci-lint-action@v8.0.0
- uses: megalinter/megalinter/flavors/go@v9.1.0
env:
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: false
GITHUB_STATUS_REPORTER: ${{ !env.ACT }}
GITHUB_COMMENT_REPORTER: ${{ !env.ACT }}
- run: make lint-go
test-linux:
name: test-linux