diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 9a7074cfc9..d7dc4a5b4a 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -41,24 +41,24 @@ jobs: - name: Run tests run: mdbook test - lint: - runs-on: ubuntu-latest - name: lint - timeout-minutes: 60 + # lint: + # runs-on: ubuntu-latest + # name: lint + # timeout-minutes: 60 - steps: - - uses: actions/checkout@v4 + # steps: + # - uses: actions/checkout@v4 - - name: Install mdbook-linkcheck - run: | - mkdir mdbook-linkcheck - curl -sSL -o mdbook-linkcheck.zip https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/latest/download/mdbook-linkcheck.x86_64-unknown-linux-gnu.zip - unzip mdbook-linkcheck.zip -d ./mdbook-linkcheck - chmod +x $(pwd)/mdbook-linkcheck/mdbook-linkcheck - echo $(pwd)/mdbook-linkcheck >> $GITHUB_PATH + # - name: Install mdbook-linkcheck + # run: | + # mkdir mdbook-linkcheck + # curl -sSL -o mdbook-linkcheck.zip https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/latest/download/mdbook-linkcheck.x86_64-unknown-linux-gnu.zip + # unzip mdbook-linkcheck.zip -d ./mdbook-linkcheck + # chmod +x $(pwd)/mdbook-linkcheck/mdbook-linkcheck + # echo $(pwd)/mdbook-linkcheck >> $GITHUB_PATH - - name: Run linkcheck - run: mdbook-linkcheck --standalone + # - name: Run linkcheck + # run: mdbook-linkcheck --standalone build: runs-on: ubuntu-latest @@ -85,17 +85,17 @@ jobs: - name: Build book run: mdbook build - - name: Build docs - run: cargo docs - env: - # Keep in sync with ./ci.yml:jobs.docs - RUSTDOCFLAGS: - --cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page - -Zunstable-options + # - name: Build docs + # run: cargo docs + # env: + # # Keep in sync with ./ci.yml:jobs.docs + # RUSTDOCFLAGS: + # --cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page + # -Zunstable-options - - name: Move docs to book folder - run: | - mv target/doc target/book/docs + # - name: Move docs to book folder + # run: | + # mv target/doc target/book/docs - name: Archive artifact shell: sh @@ -124,7 +124,7 @@ jobs: # Only deploy if a push to main # if: github.ref_name == 'main' && github.event_name == 'push' runs-on: ubuntu-latest - needs: [test, lint, build] + needs: [lint, build] # Grant GITHUB_TOKEN the permissions required to make a Pages deployment permissions: