diff --git a/.github/workflows/bench_cli.yml b/.github/workflows/bench_cli.yml index fd2964abaf61..7591f406e6e6 100644 --- a/.github/workflows/bench_cli.yml +++ b/.github/workflows/bench_cli.yml @@ -39,6 +39,8 @@ jobs: channel: stable cache-target: release cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install hyperfine run: cargo install hyperfine diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index d7f79fb66186..59fa4af12250 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -44,6 +44,8 @@ jobs: cache-target: release bins: cargo-codspeed cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Compile run: cargo codspeed build --features codspeed -p xtask_bench diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2ab150cb8c00..3c09ffc4b5fa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,6 +33,8 @@ jobs: components: rustfmt bins: taplo-cli cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run rustfmt run: | cargo fmt --all --verbose -- --check @@ -51,6 +53,8 @@ jobs: with: components: clippy cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run cargo check run: cargo check --workspace --all-targets --release - name: Run clippy @@ -69,6 +73,8 @@ jobs: with: channel: nightly cache: false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install udeps run: cargo install cargo-udeps --locked - name: Run udeps @@ -92,6 +98,8 @@ jobs: uses: moonrepo/setup-rust@e013866c4215f77c925f42f60257dec7dd18836e # v1.2.1 with: cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run tests on ${{ matrix.os }} run: cargo test --workspace @@ -118,6 +126,8 @@ jobs: with: cache-target: release cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Compile run: cargo build --release --locked -p xtask_coverage - name: Run Test262 suite diff --git a/.github/workflows/parser_conformance.yml b/.github/workflows/parser_conformance.yml index f35806f8d797..8257b0d54aaf 100644 --- a/.github/workflows/parser_conformance.yml +++ b/.github/workflows/parser_conformance.yml @@ -43,6 +43,8 @@ jobs: with: cache-target: release cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Compile run: cargo build --release --locked -p xtask_coverage diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index cb8beda8a175..2fdae0fd1b6c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -38,6 +38,8 @@ jobs: components: rustfmt bins: taplo-cli cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run format run: | cargo fmt --all --check @@ -56,6 +58,8 @@ jobs: with: components: clippy cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run clippy run: | cargo lint @@ -93,6 +97,8 @@ jobs: uses: moonrepo/setup-rust@e013866c4215f77c925f42f60257dec7dd18836e # v1.2.1 with: cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run tests run: cargo test --workspace @@ -109,6 +115,8 @@ jobs: with: cache-target: release cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build main binary run: cargo build -p biome_cli --release - name: Install Node.js @@ -152,6 +160,8 @@ jobs: uses: moonrepo/setup-rust@e013866c4215f77c925f42f60257dec7dd18836e # v1.2.1 with: cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run doc command run: cargo documentation @@ -167,6 +177,8 @@ jobs: uses: moonrepo/setup-rust@e013866c4215f77c925f42f60257dec7dd18836e # v1.2.1 with: cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Run the grammar codegen run: cargo codegen grammar - name: Run the analyzer codegen diff --git a/.github/workflows/release_knope.yml b/.github/workflows/release_knope.yml index bf31af078080..c22d6db10be1 100644 --- a/.github/workflows/release_knope.yml +++ b/.github/workflows/release_knope.yml @@ -5,6 +5,7 @@ on: types: [ closed ] branches: [ main ] + jobs: retrieve-version: if: github.head_ref == 'release/automated-ci' && github.event.pull_request.merged == true @@ -81,6 +82,8 @@ jobs: channel: stable cache-target: release cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install arm64 toolchain if: matrix.code-target == 'linux-arm64' || matrix.code-target == 'linux-arm64-musl' @@ -245,6 +248,8 @@ jobs: channel: stable cache-target: release cache-base: main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: katyo/publish-crates@v2 with: registry-token: ${{ secrets.CARGO_TOKEN }}