-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (33 loc) · 962 Bytes
/
test-basic-2.yaml
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
name: Tests basic 2
on:
push:
branches:
- "**"
pull_request:
jobs:
tests:
env:
hix_test_ci: 1
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
extra-substituters = https://tek.cachix.org
extra-trusted-public-keys = tek.cachix.org-1:+sdc73WFq8aEKnrVv5j/kuhmnW2hQJuqdPJF5SnaCBk=
- uses: cachix/cachix-action@v15
with:
name: tek
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: rm -rf /opt/hostedtoolcache
- run: |
sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0
- run: git config --global user.name hix
- run: git config --global user.email [email protected]
- run: nix run .#test-basic-2
- run: nix flake check