Bump pre-commit from 3.5.0 to 4.1.0 #22
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: Dependencies | |
permissions: read-all | |
on: | |
push: | |
paths: ["dev-requirements.txt", "Cargo.toml"] | |
pull_request: | |
paths: ["dev-requirements.txt", "Cargo.toml"] | |
jobs: | |
install-python-dependencies: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies from txt files | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r dev-requirements.txt | |
install-rust-dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies from Cargo.toml | |
run: cargo update | |
- name: Install dev-dependencies from Cargo.toml | |
run: cargo test --no-run | |
# ^ This is the only way to install dev-dependencies | |
dependency-review: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
if: ${{ github.event_name != 'push' }} | |
- name: Dependency Review | |
if: ${{ github.event_name != 'push' }} | |
uses: actions/dependency-review-action@v3 |