mirror of
https://github.com/grdl/git-get.git
synced 2026-02-11 11:49:17 +00:00
Re-enable linting in CI actions
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -69,13 +69,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: '1.24'
|
go-version: '1.24'
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Run golangci-lint
|
- name: Run lints
|
||||||
uses: golangci/golangci-lint-action@v6
|
uses: golangci/golangci-lint-action@v8
|
||||||
# TODO: Fix linting errors
|
|
||||||
continue-on-error: true
|
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: v2.4.0
|
||||||
args: --timeout=5m
|
args: --timeout=5m
|
||||||
|
|
||||||
security:
|
security:
|
||||||
|
|||||||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -41,11 +41,9 @@ jobs:
|
|||||||
run: go test -race ./...
|
run: go test -race ./...
|
||||||
|
|
||||||
- name: Run lints
|
- name: Run lints
|
||||||
uses: golangci/golangci-lint-action@v6
|
uses: golangci/golangci-lint-action@v8
|
||||||
# TODO: Fix linting errors
|
|
||||||
continue-on-error: true
|
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: v2.4.0
|
||||||
args: --timeout=5m
|
args: --timeout=5m
|
||||||
|
|
||||||
- name: Validate GoReleaser config
|
- name: Validate GoReleaser config
|
||||||
@@ -74,7 +72,7 @@ jobs:
|
|||||||
- name: Run GoReleaser
|
- name: Run GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@v6
|
uses: goreleaser/goreleaser-action@v6
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: '~> v2'
|
||||||
args: release --clean
|
args: release --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user