Merge pull request #148 from controlplaneio/dependabot/go_modules/gol… #148
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: Linting - Go | |
# Split until path filtering for jobs added | |
# https://github.community/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 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run golangci-lint | |
uses: reviewdog/action-golangci-lint@v2 |