Skip to content

Merge pull request #37 from hueristiq/dev #4

Merge pull request #37 from hueristiq/dev

Merge pull request #37 from hueristiq/dev #4

Workflow file for this run

name: 💅 Linting
on:
push:
branches:
- "main"
paths:
- '**.go'
- '**.mod'
pull_request:
branches:
- "main"
paths:
- '**.go'
- '**.mod'
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
-
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '>=1.20'
-
name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.52.2
args: --timeout 5m
working-directory: .