-
Notifications
You must be signed in to change notification settings - Fork 20
38 lines (35 loc) · 987 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
36
37
38
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:
system:
- x86_64-linux
- aarch64-linux
- x86_64-darwin
- aarch64-darwin
runs-on: >-
${{ (matrix.system == 'x86_64-linux' && 'ubuntu-latest')
|| (matrix.system == 'aarch64-linux' && 'ubuntu-24.04-arm')
|| (matrix.system == 'x86_64-darwin' && 'macos-13')
|| (matrix.system == 'aarch64-darwin' && 'macos-latest') }}
steps:
- 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