Skip to content

Adding a linting support into the kraken codebase #4

Adding a linting support into the kraken codebase

Adding a linting support into the kraken codebase #4

Workflow file for this run

name: golangci-lint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
GO_VERSION: '1.23'
permissions:
contents: read
# Optional: allow read access to pull requests. Use with `only-new-issues` option.
pull-requests: read
jobs:
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: latest
# Only run on new issues in pull requests
only-new-issues: true