Skip to content

security(actions): bump github/codeql-action from 3.26.8 to 3.26.12 #216

security(actions): bump github/codeql-action from 3.26.8 to 3.26.12

security(actions): bump github/codeql-action from 3.26.8 to 3.26.12 #216

Workflow file for this run

name: Linter
on:
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
check-links:
name: Markdown / Link
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0
fetch-tags: true
- name: Run linkspector
uses: umbrelladocs/action-linkspector@e26ea73f270e69734d2860157be2ff5807aea1bb # v1.2.2
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_on_error: true
golint:
name: Go
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
issues: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0
fetch-tags: true
- name: Requirements
uses: reviewdog/action-golangci-lint@7708105983c614f7a2725e2172908b7709d1c3e4 # v2.6.2
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--fix --timeout 2m0s --disable-all -E asciicheck,bidichk,bodyclose,canonicalheader,dogsled,exhaustive,gocheckcompilerdirectives,gofmt,durationcheck,errname,errorlint,fatcontext,goheader,inamedparam,interfacebloat,intrange,makezero,mirror,misspell,noctx,nonamedreturns,prealloc,predeclared,tenv,testifylint,unconvert,usestdlibvars,wastedassign"
reporter: github-pr-review
tool_name: Go Lint Issues
fail_on_error: true
cache: false
filter_mode: added
- name: Suggestions
uses: reviewdog/action-golangci-lint@7708105983c614f7a2725e2172908b7709d1c3e4 # v2.6.2
if: success() || failure()
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--fix --timeout 2m0s -E dupl,gocritic,maintidx,mnd,perfsprint,revive,stylecheck"
reporter: github-pr-review
tool_name: Go Lint Suggestions
level: warning
fail_on_error: false
cache: false
filter_mode: file
- uses: reviewdog/action-suggester@db4abb16fbaabe386831e5addb7be1485d0d63d3 # v1.18.0
if: success() || failure()
with:
tool_name: Go Lint Issues
github_token: ${{ secrets.github_token }}