feat: add --rotate-on-error
& --max-errors
options
#196
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: Pull Request | |
on: | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '**.go' | |
jobs: | |
checks: | |
name: "Pull Request Checks" | |
runs-on: ubuntu-latest | |
if: contains(github.event.head_commit.message, '[ci skip]') == false && contains(github.event.head_commit.message, '[skip ci]') == false | |
steps: | |
- name: "Set up Go" | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19 | |
- name: "Check out code" | |
uses: actions/checkout@v3 | |
- name: "GolangCI-Lint" | |
uses: golangci/[email protected] | |
with: | |
version: v1.50 | |
- name: "Initialize CodeQL" | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: go | |
- name: "Run tests" | |
run: make test | |
- name: "Compile the project" | |
run: make build | |
- name: "Perform CodeQL Analysis" | |
uses: github/codeql-action/analyze@v2 |