2020-05-17 04:59:35 -04:00
|
|
|
name: "CI"
|
|
|
|
on:
|
|
|
|
- pull_request
|
|
|
|
- push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
docs:
|
2021-06-06 07:02:04 -04:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-01 19:06:27 -05:00
|
|
|
- uses: actions/checkout@v3
|
2021-12-06 11:37:42 -05:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2022-10-12 20:34:18 -04:00
|
|
|
- uses: cachix/install-nix-action@v18
|
2021-06-06 07:02:04 -04:00
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
2022-10-27 20:48:10 -04:00
|
|
|
- uses: cachix/cachix-action@v12
|
2021-12-10 09:27:09 -05:00
|
|
|
with:
|
|
|
|
name: nix-dev
|
|
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
2021-06-07 12:34:54 -04:00
|
|
|
- name: Build
|
|
|
|
run: nix-build
|
2021-08-19 04:01:13 -04:00
|
|
|
- name: Linkcheck
|
|
|
|
run: nix-shell --run "make linkcheck"
|
2022-04-06 09:08:27 -04:00
|
|
|
- name: Run code block tests
|
|
|
|
run: nix-shell --run "./run_code_block_tests.sh"
|