-
Notifications
You must be signed in to change notification settings - Fork 16
25 lines (25 loc) · 933 Bytes
/
checks.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
name: "Nix build test"
on:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v14
with:
name: horriblename
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: build and test hyprgrass
run: |
nix build .#hyprgrassWithTests \
--option extra-substituters https://hyprland.cachix.org \
--option extra-trusted-public-keys hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=
- name: build hyprgrass-pulse
run: |
nix build .#hyprgrass-pulse \
--option extra-substituters https://hyprland.cachix.org \
--option extra-trusted-public-keys hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=