feat: add endpoints for upload, list and delete #4
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: Vulnerability Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
code-vulnerabilities: | |
name: Code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup/poetry | |
with: | |
os: ${{ job.os }} | |
python-version: '3.11' | |
poetry-install-options: "--only=security --no-root" | |
poetry-export-options: "--only=security" | |
- name: Check code vulnerabilities with bandit | |
run: poetry run bandit -c pyproject.toml -r TusStorageHandler/ | |
dependency-vulnerabilities: | |
name: Dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up environment | |
uses: ./.github/actions/setup/poetry | |
with: | |
os: ${{ job.os }} | |
python-version: '3.11' | |
poetry-install-options: "--only=security --no-root" | |
poetry-export-options: "--only=security" | |
- name: Check dependency vulnerabilities with safety | |
run: poetry run safety check --full-report | |
... |