ability to run a view with a different context #1306
This file contains hidden or 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: Git Checks | |
| on: [pull_request] | |
| jobs: | |
| block-fixup: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Block Fixup Commit Merge | |
| uses: 13rac1/[email protected] | |
| go-mod-tidy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: "go.mod" | |
| cache-dependency-path: "**/*.sum" | |
| - run: make tidy | |
| - name: Check for diffs | |
| run: | | |
| git diff --exit-code || { | |
| echo "Please run 'make tidy' and commit the changes"; | |
| exit 1; | |
| } |