fix(github/update-flake-lock): allow pr to run workflows #64
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: | |
pull_request: | |
push: | |
jobs: | |
check: | |
name: Flake | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Set up Git repository' | |
uses: actions/checkout@v4 | |
- name: 'Install Nix' | |
uses: DeterminateSystems/nix-installer-action@v10 | |
- name: 'Flake Check' | |
run: | | |
nix flake check -L | |
tests-check: | |
name: 'Test Flake' | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: tests | |
steps: | |
- name: 'Set up Git repository' | |
uses: actions/checkout@v4 | |
- name: 'Install Nix' | |
uses: DeterminateSystems/nix-installer-action@v10 | |
- name: 'Flake Check' | |
run: | | |
nix flake check -L |