Skip to content

build: test fix

build: test fix #173

Workflow file for this run

name: pre-commit
on:
pull_request:
push:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v9
- uses: DeterminateSystems/magic-nix-cache-action@v7
- run: nix profile install nixpkgs#direnv
- run: |
direnv allow .
direnv export bash >> "$GITHUB_ENV"
- run: |
pip install -r requirements/pre-commit.txt
pre-commit run -a