2023-03-18 10:58:52 -04:00
|
|
|
name: "Test"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push: {}
|
|
|
|
pull_request: {}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
linkcheck:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2023-09-04 20:59:19 -04:00
|
|
|
- uses: cachix/install-nix-action@v23
|
2023-03-18 10:58:52 -04:00
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
|
|
- uses: cachix/cachix-action@v12
|
|
|
|
with:
|
|
|
|
name: nix-dev
|
|
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
|
|
- name: Run linkcheck
|
|
|
|
run: nix-shell --run "make linkcheck"
|
|
|
|
codeblock:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2023-09-04 20:59:19 -04:00
|
|
|
- uses: cachix/install-nix-action@v23
|
2023-03-18 10:58:52 -04:00
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
|
|
- uses: cachix/cachix-action@v12
|
|
|
|
with:
|
|
|
|
name: nix-dev
|
|
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
|
|
- name: Run builder
|
|
|
|
run: nix-shell --run "make dummy"
|
|
|
|
- name: Test code blocks
|
|
|
|
run: nix-shell --run "./run_code_block_tests.sh"
|