Skip to content

Commit a03fcfb

Browse files
committed
ci: use diff-plugins from package output
1 parent f75c388 commit a03fcfb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pr-merged.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ jobs:
7979
- name: Install Nix
8080
uses: cachix/install-nix-action@v31
8181
with:
82-
nix_path: nixpkgs=channel:nixpkgs-unstable
8382
extra_nix_config: |
8483
accept-flake-config = true
8584
@@ -124,7 +123,7 @@ jobs:
124123
head: ${{ github.event.pull_request.head.sha }}
125124
run: |
126125
out=$(mktemp)
127-
./flake/dev/diff-plugins.py --compact "$base" "$head" > "$out"
126+
nix run .#diff-plugins --compact "$base" "$head" > "$out"
128127
{
129128
echo -n 'json='
130129
jq -c . < "$out"
@@ -138,7 +137,7 @@ jobs:
138137
head: ${{ github.event.pull_request.merge_commit_sha }}
139138
run: |
140139
out=$(mktemp)
141-
./flake/dev/diff-plugins.py --compact "$base" "$head" > "$out"
140+
nix run .#diff-plugins --compact "$base" "$head" > "$out"
142141
{
143142
echo -n 'json='
144143
jq -c . < "$out"

0 commit comments

Comments
 (0)