Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
name: Lint

on:
push:
branches:
- main
- master
pull_request:

jobs:
golangci:
name: golangci‑lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.24'
- uses: actions/checkout@v4
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
Expand All @@ -24,10 +28,4 @@ jobs:
args: --enable bodyclose --timeout 10m

# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true

# Optional: if set to true then the action don't cache or restore ~/go/pkg.
# skip-pkg-cache: true

# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
# skip-build-cache: true
# only-new-issues: true