Development v0.7.0 #22
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 Test | |
on: | |
push: | |
branches: | |
- "main" | |
paths: | |
- '**.go' | |
- '**.mod' | |
pull_request: | |
branches: | |
- "main" | |
paths: | |
- '**.go' | |
- '**.mod' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Lint Test | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '>=1.21' | |
cache: false | |
- | |
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.54.2 | |
args: --timeout 5m | |
working-directory: . |