chore(deps): update dependency ubuntu to v24 #717
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: pip_audit | |
| 'on': | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| schedule: | |
| - cron: '10 2 * * 1' | |
| permissions: | |
| contents: read | |
| jobs: | |
| pip_audit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0 | |
| with: | |
| python-version: 3.14 | |
| - name: Set up Poetry | |
| uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1.4.1 | |
| - name: Install poetry-plugin-export | |
| run: | | |
| poetry self add poetry-plugin-export | |
| - name: Generate requirements | |
| run: | | |
| poetry export -f requirements.txt -o requirements.txt | |
| poetry export --with dev -f requirements.txt -o dev-requirements.txt | |
| - name: Run pip-audit | |
| uses: pypa/gh-action-pip-audit@1220774d901786e6f652ae159f7b6bc8fea6d266 # v1.1.0 | |
| with: | |
| inputs: requirements.txt dev-requirements.txt | |
| ... |