From e16edb2c352b025929401b74de27707b615a0b81 Mon Sep 17 00:00:00 2001 From: Tamo Date: Tue, 25 Jun 2024 17:00:50 +0200 Subject: [PATCH] use the helix action since the official one doesn't support the rust-toolchain file --- .github/workflows/bench-manual.yml | 2 +- .github/workflows/bench-pr.yml | 2 +- .github/workflows/bench-push-indexing.yml | 2 +- .github/workflows/benchmarks-manual.yml | 2 +- .github/workflows/benchmarks-pr.yml | 2 +- .github/workflows/benchmarks-push-indexing.yml | 2 +- .github/workflows/benchmarks-push-search-geo.yml | 2 +- .github/workflows/benchmarks-push-search-songs.yml | 2 +- .github/workflows/benchmarks-push-search-wiki.yml | 2 +- .github/workflows/flaky-tests.yml | 2 +- .github/workflows/fuzzer-indexing.yml | 2 +- .github/workflows/publish-apt-brew-pkg.yml | 2 +- .github/workflows/publish-binaries.yml | 8 ++++---- .github/workflows/test-suite.yml | 14 +++++++------- .github/workflows/update-cargo-toml-version.yml | 2 +- 15 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/bench-manual.yml b/.github/workflows/bench-manual.yml index 3352a4b40..4a9d5fcfd 100644 --- a/.github/workflows/bench-manual.yml +++ b/.github/workflows/bench-manual.yml @@ -18,7 +18,7 @@ jobs: timeout-minutes: 180 # 3h steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 with: profile: minimal diff --git a/.github/workflows/bench-pr.yml b/.github/workflows/bench-pr.yml index 7e8f26a13..6379a528c 100644 --- a/.github/workflows/bench-pr.yml +++ b/.github/workflows/bench-pr.yml @@ -35,7 +35,7 @@ jobs: fetch-depth: 0 # fetch full history to be able to get main commit sha ref: ${{ steps.comment-branch.outputs.head_ref }} - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 with: profile: minimal diff --git a/.github/workflows/bench-push-indexing.yml b/.github/workflows/bench-push-indexing.yml index 3d92899af..dfd1a3b09 100644 --- a/.github/workflows/bench-push-indexing.yml +++ b/.github/workflows/bench-push-indexing.yml @@ -12,7 +12,7 @@ jobs: timeout-minutes: 180 # 3h steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 with: profile: minimal diff --git a/.github/workflows/benchmarks-manual.yml b/.github/workflows/benchmarks-manual.yml index e24c03d2b..19d477268 100644 --- a/.github/workflows/benchmarks-manual.yml +++ b/.github/workflows/benchmarks-manual.yml @@ -18,7 +18,7 @@ jobs: timeout-minutes: 4320 # 72h steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 with: profile: minimal diff --git a/.github/workflows/benchmarks-pr.yml b/.github/workflows/benchmarks-pr.yml index 322f394e7..6a613dcb9 100644 --- a/.github/workflows/benchmarks-pr.yml +++ b/.github/workflows/benchmarks-pr.yml @@ -13,7 +13,7 @@ jobs: runs-on: benchmarks timeout-minutes: 4320 # 72h steps: - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 with: profile: minimal diff --git a/.github/workflows/benchmarks-push-indexing.yml b/.github/workflows/benchmarks-push-indexing.yml index e9c589504..ae6a4634a 100644 --- a/.github/workflows/benchmarks-push-indexing.yml +++ b/.github/workflows/benchmarks-push-indexing.yml @@ -16,7 +16,7 @@ jobs: timeout-minutes: 4320 # 72h steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 with: profile: minimal diff --git a/.github/workflows/benchmarks-push-search-geo.yml b/.github/workflows/benchmarks-push-search-geo.yml index 652e92311..8f5f8d020 100644 --- a/.github/workflows/benchmarks-push-search-geo.yml +++ b/.github/workflows/benchmarks-push-search-geo.yml @@ -15,7 +15,7 @@ jobs: runs-on: benchmarks steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 with: profile: minimal diff --git a/.github/workflows/benchmarks-push-search-songs.yml b/.github/workflows/benchmarks-push-search-songs.yml index a9b75ba80..a19990e07 100644 --- a/.github/workflows/benchmarks-push-search-songs.yml +++ b/.github/workflows/benchmarks-push-search-songs.yml @@ -15,7 +15,7 @@ jobs: runs-on: benchmarks steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 with: profile: minimal diff --git a/.github/workflows/benchmarks-push-search-wiki.yml b/.github/workflows/benchmarks-push-search-wiki.yml index 0c3406e49..f7da07fda 100644 --- a/.github/workflows/benchmarks-push-search-wiki.yml +++ b/.github/workflows/benchmarks-push-search-wiki.yml @@ -15,7 +15,7 @@ jobs: runs-on: benchmarks steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 with: profile: minimal diff --git a/.github/workflows/flaky-tests.yml b/.github/workflows/flaky-tests.yml index 4c008d6b3..d66417c45 100644 --- a/.github/workflows/flaky-tests.yml +++ b/.github/workflows/flaky-tests.yml @@ -16,7 +16,7 @@ jobs: run: | apt-get update && apt-get install -y curl apt-get install build-essential -y - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 - name: Install cargo-flaky run: cargo install cargo-flaky - name: Run cargo flaky in the dumps diff --git a/.github/workflows/fuzzer-indexing.yml b/.github/workflows/fuzzer-indexing.yml index ceaef57ac..5d1ecc7f8 100644 --- a/.github/workflows/fuzzer-indexing.yml +++ b/.github/workflows/fuzzer-indexing.yml @@ -12,7 +12,7 @@ jobs: timeout-minutes: 4320 # 72h steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 with: profile: minimal diff --git a/.github/workflows/publish-apt-brew-pkg.yml b/.github/workflows/publish-apt-brew-pkg.yml index 628a67263..91b3ecfba 100644 --- a/.github/workflows/publish-apt-brew-pkg.yml +++ b/.github/workflows/publish-apt-brew-pkg.yml @@ -25,7 +25,7 @@ jobs: run: | apt-get update && apt-get install -y curl apt-get install build-essential -y - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 - name: Install cargo-deb run: cargo install cargo-deb - uses: actions/checkout@v3 diff --git a/.github/workflows/publish-binaries.yml b/.github/workflows/publish-binaries.yml index d9439cb32..4f475057f 100644 --- a/.github/workflows/publish-binaries.yml +++ b/.github/workflows/publish-binaries.yml @@ -45,7 +45,7 @@ jobs: run: | apt-get update && apt-get install -y curl apt-get install build-essential -y - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 - name: Build run: cargo build --release --locked # No need to upload binaries for dry run (cron) @@ -75,7 +75,7 @@ jobs: asset_name: meilisearch-windows-amd64.exe steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 - name: Build run: cargo build --release --locked # No need to upload binaries for dry run (cron) @@ -101,7 +101,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - name: Installing Rust toolchain - uses: actions-rs/toolchain@v1 + uses: helix-editor/rust-toolchain@v1 with: profile: minimal target: ${{ matrix.target }} @@ -146,7 +146,7 @@ jobs: add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" apt-get update -y && apt-get install -y docker-ce - name: Installing Rust toolchain - uses: actions-rs/toolchain@v1 + uses: helix-editor/rust-toolchain@v1 with: profile: minimal target: ${{ matrix.target }} diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index fd9238bf1..7205d2ea0 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -31,7 +31,7 @@ jobs: apt-get update && apt-get install -y curl apt-get install build-essential -y - name: Setup test with Rust stable - uses: actions-rs/toolchain@v1 + uses: helix-editor/rust-toolchain@v1 - name: Cache dependencies uses: Swatinem/rust-cache@v2.7.1 - name: Run cargo check without any default features @@ -56,7 +56,7 @@ jobs: - uses: actions/checkout@v3 - name: Cache dependencies uses: Swatinem/rust-cache@v2.7.1 - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 - name: Run cargo check without any default features uses: actions-rs/cargo@v1 with: @@ -81,7 +81,7 @@ jobs: run: | apt-get update apt-get install --assume-yes build-essential curl - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 - name: Run cargo build with almost all features run: | cargo build --workspace --locked --release --features "$(cargo xtask list-features --exclude-feature cuda)" @@ -101,7 +101,7 @@ jobs: run: | apt-get update apt-get install --assume-yes build-essential curl - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 - name: Run cargo tree without default features and check lindera is not present run: | if cargo tree -f '{p} {f}' -e normal --no-default-features | grep -vqz lindera; then @@ -125,7 +125,7 @@ jobs: run: | apt-get update && apt-get install -y curl apt-get install build-essential -y - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 - name: Cache dependencies uses: Swatinem/rust-cache@v2.7.1 - name: Run tests in debug @@ -139,7 +139,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 with: profile: minimal toolchain: 1.75.0 @@ -158,7 +158,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 with: profile: minimal toolchain: nightly-2024-06-25 diff --git a/.github/workflows/update-cargo-toml-version.yml b/.github/workflows/update-cargo-toml-version.yml index 0f68bdc49..8b6d0a2d2 100644 --- a/.github/workflows/update-cargo-toml-version.yml +++ b/.github/workflows/update-cargo-toml-version.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: helix-editor/rust-toolchain@v1 with: profile: minimal - name: Install sd