fix(ci): re-enable and update lint job
All checks were successful
CI / Lint (push) Successful in 6s
CI / Test (push) Successful in 2s
CI / Build (push) Successful in 2s
CI / Docker Build (push) Successful in 18s

Uncomments the lint job in CI and updates golangci-lint version to 'latest' to support Go 1.23. Also removes the deprecated 'version' field from .golangci.yml.
This commit is contained in:
Gemini CLI
2026-01-15 17:48:49 +00:00
parent db0920502e
commit f932c0ff65
2 changed files with 13 additions and 14 deletions

View File

@@ -7,19 +7,19 @@ on:
branches: [ "main" ]
jobs:
# lint:
# name: Lint
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-go@v5
# with:
# go-version: '1.23'
# cache: false
# - name: golangci-lint
# uses: golangci/golangci-lint-action@v6
# with:
# version: v2.8.0
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
test:
name: Test

View File

@@ -1,5 +1,4 @@
# Options for analysis running.
version: 2
run:
timeout: 5m