fork/home-manager

git clone https://git.julia.blue/fork/home-manager

dependabot[bot]ci: bump actions/checkout from 3 to 4ae2cc6a8

master
910 B30 linesraw
1name: Test
2on:
3  pull_request:
4  schedule:
5    - cron: "30 2 * * *"
6jobs:
7  tests:
8    strategy:
9      fail-fast: false
10      matrix:
11        os: [ubuntu-latest, macos-latest]
12    runs-on: ${{ matrix.os }}
13    steps:
14    - uses: actions/checkout@v4
15    - uses: cachix/install-nix-action@v23
16      with:
17        nix_path: nixpkgs=channel:nixos-unstable
18    - uses: cachix/cachix-action@v12
19      with:
20        name: nix-community
21        authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
22    - run: |
23        if grep -R --exclude stdlib-extended.nix literalExample modules ; then
24          echo "Error: literalExample should be replaced by literalExpression" > /dev/stderr
25          exit 1
26        fi
27    - run: nix-build --show-trace -A docs.jsonModuleMaintainers
28    - run: ./format -c
29    - run: nix-shell --show-trace . -A install
30    - run: nix-shell --show-trace --arg enableBig false --pure tests -A run.all