Skip to content

chore(deps): update github/codeql-action digest to 4f3212b in .github/workflows/codeql.yml #130

chore(deps): update github/codeql-action digest to 4f3212b in .github/workflows/codeql.yml

chore(deps): update github/codeql-action digest to 4f3212b in .github/workflows/codeql.yml #130

Workflow file for this run

name: lint (pre-commit)
on:
pull_request:
paths-ignore:
- "**/*.md"
- "LICENSE"
push:
paths-ignore:
- "**/*.md"
- "LICENSE"
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
with:
go-version: v1.20.x
- name: Install dependencies
run: |
cd /tmp && go install github.com/go-critic/go-critic/cmd/gocritic@latest
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
go install golang.org/x/lint/golint@latest
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
with:
extra_args: --all-files