Move auth and client init into BeforeEach to improve Ginkgo errors #4535
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
# This runs all pre-commit hooks defined within .pre-commit-config.yaml. | |
name: Pre-commit hooks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
pre-commit: | |
name: "Run pre-commit hooks" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.20" | |
- uses: pre-commit/[email protected] | |
- uses: pre-commit/[email protected] | |
name: Verify generated files are up-to-date | |
with: | |
extra_args: --hook-stage=manual --all-files |