summaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/check.yml
blob: 4d38a8cef68b9c5cb0efabcc576e653c0f668bee (plain) (blame)
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
name: check

on:
  push:
    branches: [master]
  pull_request:
  workflow_dispatch:

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - uses: cachix/install-nix-action@v31
        with:
          github_access_token: ${{ secrets.GITHUB_TOKEN }}

      - name: just doctor
        run: nix develop ./nix --command just doctor

      - name: just check
        run: nix develop ./nix --command just check

      - name: Role and package tests
        run: nix develop ./nix --command just test

      - name: Evaluate the corporate profile
        run: nix eval --impure ./nix#homeConfigurations.canonical.activationPackage.drvPath