Add paths to environment, based on if the shells are enabled even #223
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: Validate Nix Flake | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '**.nix' | |
- '**.lock' | |
- '.github/workflows/check.yml' | |
jobs: | |
check-flake: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
fetch-depth: 1 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
with: | |
logger: pretty | |
- name: Check Flake | |
run: nix flake check --accept-flake-config |