Skip to content

Merge pull request #733 from controlplaneio/scan-specific-rules #446

Merge pull request #733 from controlplaneio/scan-specific-rules

Merge pull request #733 from controlplaneio/scan-specific-rules #446

Workflow file for this run

---
name: Linting - Go
permissions: {}
# Split until path filtering for jobs added
# https://github.qkg1.topmunity/t/path-filtering-for-jobs-and-steps/16447
on:
push:
branches: [master]
paths:
- "**.go"
- "go.mod"
- "go.sum"
pull_request:
branches: [master]
paths:
- "**.go"
- "go.mod"
- "go.sum"
jobs:
golangci-lint:
name: golangci-lint
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
checks: write
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Run golangci-lint
uses: reviewdog/action-golangci-lint@c76cceaaab89abe74e649d2e34c6c9adc26662d2 # v2