Skip to content

Commit

Permalink
Merge pull request #15 from boinkor-net/improve-path-lint
Browse files Browse the repository at this point in the history
Improve path lint
  • Loading branch information
antifuchs authored Dec 6, 2024
2 parents 6626bee + 9bf70ad commit 1333750
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 13 deletions.
1 change: 0 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: "Tests for this repo"
on:
workflow_call:
pull_request:

jobs:
success_build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
{
echo "entries<<EOF"
nix flake metadata --json | jq -r '.locks.nodes | map_values(select(.locked.type == "path")) | keys[]'
nix flake metadata --json | jq -r '.locks.nodes | map_values(select(.locked.type == "path" and .original.type == "indirect")) | keys[]'
echo EOF
} >> "$GITHUB_OUTPUT"
working-directory: ${{ inputs.root }}
Expand Down
17 changes: 7 additions & 10 deletions tests/fail-safety-check/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion tests/fail-safety-check/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
description = "a flake that should successfully pass the baseline-nix tests";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
some_input = {
url = "path:./some_input";
flake = false;
Expand Down

0 comments on commit 1333750

Please sign in to comment.