diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 0c7339b..29a2eb9 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -21,8 +21,10 @@ jobs: toolchain: stable - name: Create docs run: | - cargo doc - mv target/doc/mod_installer ./_site + cargo clean --doc + cargo doc --no-deps + rm target/doc/.lock + mv target/doc/ ./_site/ - name: Upload artifact uses: actions/upload-pages-artifact@v3 - name: Deploy to GitHub Pages diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a2190d8..1462b0c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,6 +16,8 @@ repos: stages: [pre-commit] - id: check-builtin-literals stages: [pre-commit] + - id: check-yaml + stages: [pre-commit] - repo: https://github.com/jumanjihouse/pre-commit-hooks rev: 3.0.0