diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fe0029f..c33aa39 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,19 +21,19 @@ jobs: build: runs-on: ubuntu-latest env: - MDBOOK_URL: https://github.com/rust-lang/mdBook/releases/download/v0.4.34/mdbook-v0.4.34-x86_64-unknown-linux-gnu.tar.gz + MDBOOK_URL: https://github.com/rust-lang/mdBook/releases/download/v0.4.40/mdbook-v0.4.40-x86_64-unknown-linux-gnu.tar.gz steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install mdBook run: | curl -sSL ${MDBOOK_URL} | tar -xz --directory=./ - name: Setup Pages id: pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Build with mdBook run: ./mdbook build - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: ./book deploy: @@ -45,4 +45,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ee731e8..b87cba9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,13 +9,7 @@ jobs: publish-to-cratesio: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Install rust toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true + - uses: actions/checkout@v4 - name: Publish to crates.io run: cargo publish env: