name: "CI" on: - pull_request - push jobs: docs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - uses: cachix/install-nix-action@v22 with: nix_path: nixpkgs=channel:nixos-unstable - uses: cachix/cachix-action@v12 with: name: nix-dev authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - name: Build run: nix-build - name: Linkcheck run: nix-shell --run "make linkcheck" - name: Run code block tests run: nix-shell --run "./run_code_block_tests.sh"