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