From 601566baa3c116d541d80ab4fc93733762fb0eda Mon Sep 17 00:00:00 2001 From: Caleb Hattingh Date: Sun, 19 Nov 2023 01:05:00 +0100 Subject: [PATCH] Change to action `dtolnay/rust-toolchain` and 1.73 (#154) --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/publish.yaml | 5 ++--- Cargo.lock | 2 +- rust-toolchain.toml | 2 ++ 4 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 rust-toolchain.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a1f93f..a423d99 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,9 +28,9 @@ jobs: uses: actions/checkout@61b9e3751b92087fd0b06925ba6dd6314e06f089 - name: Rust toolchain - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af + uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: - toolchain: stable + toolchain: 1.73.0 components: rustfmt - name: Check Formatting @@ -73,9 +73,9 @@ jobs: with: python-version: ${{ matrix.python-version }} - - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af + - uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: - toolchain: stable + toolchain: 1.73.0 - uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # 2.7.1 - run: python3 -m pip install nox diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index ee86a79..59b9cb3 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -147,10 +147,9 @@ jobs: with: ref: ${{ github.head_ref }} - - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 + - uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 with: - profile: minimal - toolchain: stable + toolchain: 1.73.0 - name: Set up Python 3.8 uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1 diff --git a/Cargo.lock b/Cargo.lock index 02c6548..69bbac8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1029,7 +1029,7 @@ dependencies = [ [[package]] name = "tantivy" -version = "0.20.1" +version = "0.21.0" dependencies = [ "base64", "chrono", diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..8142c30 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "1.73.0"