Merge pull request #476 from frans-otogone/terraform-plugin-include-a… #29
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 Nix flake | |
on: | |
pull_request_target: | |
paths: | |
- '*.nix' | |
- flake.lock | |
push: | |
branches: | |
- main | |
jobs: | |
check-flake: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Check Nix flake inputs | |
uses: DeterminateSystems/flake-checker-action@v5 | |
with: | |
fail-mode: true | |
send-statistics: false | |
- name: Run nix flake check | |
run: nix flake check |