diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 22f107d9..86321ee5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,3 +28,27 @@ jobs: - name: Check formatting run: | cargo fmt -- --check + + rustfmt: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Check formatting + run: | + cargo fmt -- --check + + documentation: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Check docs + run: | + sudo apt update + sudo apt install --no-install-recommends scdoc + for file in $(find . -type f -iwholename "./docs/*.scd"); do scdoc < $file > /dev/null; done