WIP #40
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: Build and Test | |
| on: push | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Python setup | |
| uses: ./.github/actions/python-setup | |
| - name: Node setup | |
| uses: ./.github/actions/node-setup | |
| - name: Check Workflows | |
| run: uvx zizmor --format sarif . > zizmor-results.sarif | |
| # ToDo: set up a github_token to do further analysis. See: https://woodruffw.github.io/zizmor/usage/#use-in-github-actions) | |
| # ToDo: Reenable this when I understand what it does. | |
| # - name: Upload SARIF file | |
| # uses: github/codeql-action/upload-sarif@v3 | |
| # with: | |
| # sarif_file: zizmor-results.sarif | |
| # category: zizmor | |
| - name: Pre-test checks | |
| run: uv run scripts/code-check |