ci: update commit action #31
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: Check | |
on: | |
workflow_dispatch: # can be triggered manually | |
pull_request: | |
push: | |
paths-ignore: | |
- "LICENSE" | |
- "**.md" | |
- "img/**" | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install nix | |
uses: cachix/install-nix-action@v25 | |
- name: Setup nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Run flake checker | |
uses: DeterminateSystems/flake-checker-action@main | |
- name: Check flake | |
# TODO print to $GITHUB_STEP_SUMMARY | |
run: nix flake check |