New auth methods #42
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: static-check | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- "dependabot/*" | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
Static-Check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
- name: Generate mocks | |
run: go generate ./... | |
- name: Static Code Analysis | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
skip-cache: true | |
args: | | |
--timeout 5m --out-${NO_FUTURE}format checkstyle:golangci-report.xml --issues-exit-code 0 --enable errcheck,gosimple,govet,ineffassign,staticcheck,typecheck,unused,gocritic,asasalint,asciicheck,errchkjson,copyloopvar,forcetypeassert,makezero,nilerr,unparam,unconvert,wastedassign,usestdlibvars | |
# --timeout 5m --out-format checkstyle:golangci-report.xml -issues-exit-code 0 | |
- name: Cache golangci-lint report | |
uses: actions/cache@v4 | |
id: restore-golangci-lint-report | |
with: | |
path: ./golangci-report.xml | |
key: ${{ github.sha }} |