Skip to content

Commit 0bff3f3

Browse files
committed
init
0 parents  commit 0bff3f3

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/review.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: review
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
pr:
7+
description: "Pull Request Number"
8+
required: true
9+
type: number
10+
nixpkgs-review:
11+
description: "nixpkgs-review flake"
12+
required: true
13+
type: string
14+
default: github:Mic92/nixpkgs-review
15+
16+
jobs:
17+
review:
18+
strategy:
19+
matrix:
20+
runner:
21+
- ubuntu-latest # x86_64-linux
22+
- ubuntu-24.04-arm # aarch64-linux
23+
- macos-13 # x86_64-darwin
24+
- macos-latest # aarch64-darwin
25+
runs-on: ${{ matrix.runner }}
26+
steps:
27+
- run: sudo mkdir /mnt/nix && sudo mount -m -o bind /mnt/nix /nix
28+
- uses: DeterminateSystems/nix-installer-action@v16
29+
- run: nix run ${{ inputs.nixpkgs-review }} -- pr ${{ inputs.pr }} --no-shell
30+
31+
post-result:
32+
runs-on: ubuntu-latest
33+
needs: [review]
34+
steps:
35+
- run: echo test

0 commit comments

Comments
 (0)