Update flake-schemas to 0.1.3 #18
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: "Test the inspector against a corpus" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
flakehub-publish: | |
runs-on: "ubuntu-latest" | |
permissions: | |
id-token: "write" | |
contents: "read" | |
steps: | |
- uses: "actions/checkout@v4" | |
- uses: "DeterminateSystems/nix-installer-action@main" | |
- uses: "DeterminateSystems/magic-nix-cache-action@main" | |
- name: Check formatting | |
if: success() || failure() | |
run: | | |
nix run nixpkgs#nixpkgs-fmt -- --check . | |
- name: Ensure evaluating DeterminateSystems/flake-checker/=0.1.19 without output paths produces the right result | |
if: success() || failure() | |
run: | | |
nix eval --json \ | |
--override-input flake https://flakehub.com/f/DeterminateSystems/flake-checker/=0.1.19 \ | |
--no-write-lock-file '.#contents.excludingOutputPaths' \ | |
| nix run nixpkgs#gron > corpus/DeterminateSystems/flake-checker/=0.1.19/excluding.output | |
diff corpus/DeterminateSystems/flake-checker/=0.1.19/excluding.expect corpus/DeterminateSystems/flake-checker/=0.1.19/excluding.output | |
- name: Ensure evaluating DeterminateSystems/fh/=0.1.12 without output paths produces the right result | |
if: success() || failure() | |
run: | | |
nix eval --json \ | |
--override-input flake https://flakehub.com/f/DeterminateSystems/fh/=0.1.12 \ | |
--no-write-lock-file '.#contents.excludingOutputPaths' \ | |
| nix run nixpkgs#gron > corpus/DeterminateSystems/fh/=0.1.12/excluding.output | |
diff corpus/DeterminateSystems/fh/=0.1.12/excluding.expect corpus/DeterminateSystems/fh/=0.1.12/excluding.output | |
- name: Ensure evaluating DeterminateSystems/fh/=0.1.12 with output paths produces the right result | |
if: success() || failure() | |
run: | | |
nix eval --json \ | |
--override-input flake https://flakehub.com/f/DeterminateSystems/fh/=0.1.12 \ | |
--no-write-lock-file '.#contents.includingOutputPaths' \ | |
| nix run nixpkgs#gron > corpus/DeterminateSystems/fh/=0.1.12/including.output | |
diff corpus/DeterminateSystems/fh/=0.1.12/including.expect corpus/DeterminateSystems/fh/=0.1.12/including.output |