Merge pull request #17 from hueristiq/dev #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 💅 Lint | |
on: | |
push: | |
branches: | |
- "main" | |
paths: | |
- '**.go' | |
- '**.mod' | |
pull_request: | |
branches: | |
- "main" | |
paths: | |
- '**.go' | |
- '**.mod' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '>=1.23' | |
cache: false | |
- | |
name: Checkout the repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- | |
name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.61.0 | |
args: --timeout 5m | |
working-directory: . |