diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 63e93edb..ab51df44 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,17 +18,24 @@ concurrency: group: "pages" cancel-in-progress: true +env: + # This reduces the disk space needed for the build + RUSTFLAGS: "-C debuginfo=0" + # according to: https://matklad.github.io/2021/09/04/fast-rust-builds.html + # CI builds are faster with incremental disabled. + CARGO_INCREMENTAL: "0" + jobs: # Single deploy job since we're just deploying build: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - runs-on: buildjet-8vcpu-ubuntu-2204 + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v4 - - name: Install dependecies needed for ubuntu + - name: Install dependencies needed for ubuntu run: | sudo apt install -y protobuf-compiler libssl-dev rustup update && rustup default @@ -38,6 +45,7 @@ jobs: python-version: "3.10" cache: "pip" cache-dependency-path: "docs/requirements.txt" + - uses: Swatinem/rust-cache@v2 - name: Build Python working-directory: python run: | @@ -49,7 +57,6 @@ jobs: node-version: 20 cache: 'npm' cache-dependency-path: node/package-lock.json - - uses: Swatinem/rust-cache@v2 - name: Install node dependencies working-directory: node run: |