Skip to content

remove golangci-lint config file and change the linter to check only … #5

remove golangci-lint config file and change the linter to check only …

remove golangci-lint config file and change the linter to check only … #5

Workflow file for this run

# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/github/super-linter
name: Lint
on:
push:
branches-ignore: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
run-lint:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
statuses: write
checks: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: 1.22.3
- name: Golangci-lint
uses: golangci/[email protected]
with:
version: latest
only-new-issues: true
github-token: ${{ secrets.GITHUB_TOKEN }}