Absenteeism #1872
Workflow file for this run
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: "ReviewDog workflow" | |
on: | |
pull_request: | |
jobs: | |
# Blocking Errors Section | |
reviewdog-errors: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 # required for new-from-rev option in .golangci.yml | |
- name: Install specific golang | |
uses: actions/[email protected] | |
with: | |
go-version: '1.20.14' | |
- name: reviewdog-golangci-lint | |
uses: reviewdog/[email protected] | |
with: | |
go_version_file: go.mod | |
golangci_lint_version: "v1.53.2" | |
golangci_lint_flags: "-c .golangci.yml --allow-parallel-runners" | |
reporter: "github-pr-check" | |
tool_name: "Lint Errors" | |
level: "error" | |
fail_on_error: true | |
filter_mode: "nofilter" | |
# Non-Blocking Warnings Section | |
reviewdog-warnings: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 # required for new-from-rev option in .golangci.yml | |
- name: Install specific golang | |
uses: actions/[email protected] | |
with: | |
go-version: '1.20.14' | |
- name: reviewdog-golangci-lint | |
uses: reviewdog/[email protected] | |
with: | |
go_version_file: go.mod | |
golangci_lint_version: "v1.53.2" | |
golangci_lint_flags: "-c .golangci-warnings.yml --allow-parallel-runners" | |
reporter: "github-pr-check" | |
tool_name: "Lint Warnings" | |
level: "warning" | |
fail_on_error: false | |
filter_mode: "added" |