From fe2c0cc3d5bc844cf42944de2e73b3ab20b85ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Thu, 9 Jan 2025 09:47:08 +0100 Subject: [PATCH] Bump rust version to v1.81 --- .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 +- Dockerfile | 2 +- 16 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/bench-manual.yml b/.github/workflows/bench-manual.yml index 3f2b67d52..09699d94f 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 with: profile: minimal diff --git a/.github/workflows/bench-pr.yml b/.github/workflows/bench-pr.yml index 632c86d4e..1bcf16bfc 100644 --- a/.github/workflows/bench-pr.yml +++ b/.github/workflows/bench-pr.yml @@ -66,7 +66,7 @@ jobs: fetch-depth: 0 # fetch full history to be able to get main commit sha ref: ${{ steps.comment-branch.outputs.head_ref }} - - uses: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 with: profile: minimal diff --git a/.github/workflows/bench-push-indexing.yml b/.github/workflows/bench-push-indexing.yml index 0d9975eb7..0fca05f24 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 with: profile: minimal diff --git a/.github/workflows/benchmarks-manual.yml b/.github/workflows/benchmarks-manual.yml index 14b77c83d..044f8a827 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 with: profile: minimal diff --git a/.github/workflows/benchmarks-pr.yml b/.github/workflows/benchmarks-pr.yml index 7c081932a..78f27541c 100644 --- a/.github/workflows/benchmarks-pr.yml +++ b/.github/workflows/benchmarks-pr.yml @@ -44,7 +44,7 @@ jobs: exit 1 fi - - uses: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 with: profile: minimal diff --git a/.github/workflows/benchmarks-push-indexing.yml b/.github/workflows/benchmarks-push-indexing.yml index 4495b4b9d..0144e20cf 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 with: profile: minimal diff --git a/.github/workflows/benchmarks-push-search-geo.yml b/.github/workflows/benchmarks-push-search-geo.yml index 22218cd6e..cce6cb9b9 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 with: profile: minimal diff --git a/.github/workflows/benchmarks-push-search-songs.yml b/.github/workflows/benchmarks-push-search-songs.yml index e9744a434..2ba584a69 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 with: profile: minimal diff --git a/.github/workflows/benchmarks-push-search-wiki.yml b/.github/workflows/benchmarks-push-search-wiki.yml index bc9e1bcd0..2436cc356 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 with: profile: minimal diff --git a/.github/workflows/flaky-tests.yml b/.github/workflows/flaky-tests.yml index 3fa9c549c..530767387 100644 --- a/.github/workflows/flaky-tests.yml +++ b/.github/workflows/flaky-tests.yml @@ -17,7 +17,7 @@ jobs: run: | apt-get update && apt-get install -y curl apt-get install build-essential -y - - uses: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 - 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 ad0962802..5da7f73ed 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 with: profile: minimal diff --git a/.github/workflows/publish-apt-brew-pkg.yml b/.github/workflows/publish-apt-brew-pkg.yml index 546ec1bee..143d3e7f4 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 - 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 c53946fea..fe0f95474 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 - 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 - 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: dtolnay/rust-toolchain@1.79 + uses: dtolnay/rust-toolchain@1.81 with: profile: minimal target: ${{ matrix.target }} @@ -148,7 +148,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: dtolnay/rust-toolchain@1.79 + uses: dtolnay/rust-toolchain@1.81 with: profile: minimal target: ${{ matrix.target }} diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index e56125ebf..fae93bd66 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: dtolnay/rust-toolchain@1.79 + uses: dtolnay/rust-toolchain@1.81 - name: Cache dependencies uses: Swatinem/rust-cache@v2.7.7 - 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.7 - - uses: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 - 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 - 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 - 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 -qz lindera; then @@ -125,7 +125,7 @@ jobs: run: | apt-get update && apt-get install -y curl apt-get install build-essential -y - - uses: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 - name: Cache dependencies uses: Swatinem/rust-cache@v2.7.7 - name: Run tests in debug @@ -139,7 +139,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 with: profile: minimal components: clippy @@ -156,7 +156,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 with: profile: minimal toolchain: nightly-2024-07-09 diff --git a/.github/workflows/update-cargo-toml-version.yml b/.github/workflows/update-cargo-toml-version.yml index d9d79d595..cda76e6bb 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: dtolnay/rust-toolchain@1.79 + - uses: dtolnay/rust-toolchain@1.81 with: profile: minimal - name: Install sd diff --git a/Dockerfile b/Dockerfile index 04557df59..ce4b3bfd8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Compile -FROM rust:1.79.0-alpine3.20 AS compiler +FROM rust:1.81.0-alpine3.20 AS compiler RUN apk add -q --no-cache build-base openssl-dev