Skip to content

#105 Testing

#105 Testing #64

Workflow file for this run

name: Golangci lint
on:
push:
branches-ignore: [main]
pull_request:
branches: [main]
permissions:
# Required: allow read access to the content for analysis.
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Perform linting
uses: golangci/golangci-lint-action@v6
with:
args: --config=${{ github.workspace }}/.github/linters/.golangci.yaml
only-new-issues: false
version: latest