Add variants #3
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: "Run various checks on merge (pull) request" | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
check: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Complete nix setup | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: pre-commit checks | |
run: nix develop .#dev --impure --command bash -c "pre-commit run --all-files" | |
- name: Check the flake | |
run: nix develop .#dev --impure --command bash -c "nix flake check --impure --show-trace" |