Improve stdout/stderr silencing from #260 and #253 #931
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: Pre-Commit | |
on: | |
pull_request: | |
push: | |
branches: [ master ] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.23 | |
- name: Install dependencies | |
run: | | |
go install honnef.co/go/tools/cmd/staticcheck@latest | |
go install github.com/kisielk/errcheck@latest | |
go install mvdan.cc/gofumpt@latest | |
go install github.com/daixiang0/gci@latest | |
- uses: pre-commit/[email protected] | |
with: | |
extra_args: --all-files | |