packaging: Dropped support for Python 3.9 #1374
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: GitHub Actions Security Analysis with zizmor 🌈 | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["**"] | |
| env: | |
| FORCE_COLOR: 1 | |
| # renovate: datasource=pypi depName=uv | |
| UV_VERSION: 0.9.7 | |
| # renovate: datasource=pypi depName=zizmor | |
| ZIZMOR_VERSION: 1.16.2 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| zizmor: | |
| name: Run zizmor 🌈 | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| security-events: write # for zizmor | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2 | |
| with: | |
| version: ${{ env.UV_VERSION }} | |
| - name: Run zizmor 🌈 | |
| run: > | |
| uvx --with zizmor==${ZIZMOR_VERSION} | |
| zizmor --pedantic --format sarif . > results.sarif | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| ZIZMOR_VERSION: ${{ env.ZIZMOR_VERSION }} | |
| - name: Upload SARIF file | |
| uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2 | |
| with: | |
| sarif_file: results.sarif | |
| category: zizmor |