Added examples to readme #18
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: pre-commit | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v2 | |
- uses: pre-commit/action@v2.0.3 | |
env: | |
# this check prevents devs from commit to main. | |
# however, we don't want it to fail on commits to main in CI. | |
# we use the golangci-lint gh action in lint.yaml because it generates useful comments. | |
SKIP: no-commit-to-branch,golangci-lint |