feature/epic0-foundation #1
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -78,9 +78,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: '1.24'
|
go-version: '1.24'
|
||||||
|
|
||||||
- name: Install golangci-lint
|
- name: Install golangci-lint v2.1.6
|
||||||
run: |
|
run: |
|
||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.8
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.1.6
|
||||||
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# golangci-lint configuration
|
# golangci-lint configuration
|
||||||
# See https://golangci-lint.run/usage/configuration/
|
# See https://golangci-lint.run/usage/configuration/
|
||||||
# Note: No version field - compatible with both v1.64.8 (CI) and v2.x (local)
|
|
||||||
# Local v2.x may show a deprecation warning but will work
|
version: 2
|
||||||
|
|
||||||
run:
|
run:
|
||||||
timeout: 5m
|
timeout: 5m
|
||||||
|
|||||||
Reference in New Issue
Block a user