diff options
| author | jyn <github@jyn.dev> | 2025-02-09 14:12:00 -0500 |
|---|---|---|
| committer | jyn <github@jyn.dev> | 2025-02-09 15:23:53 -0500 |
| commit | 9bd9bcf4964ee3eeed2bbb99567619c8fb3d70d6 (patch) | |
| tree | e0c51060883c6c01d4a5017abab54d34ac4641fe /src/tools/rust-analyzer/.github/workflows | |
| parent | d4f7c7668fece15523ae6f38e437cad01ee5ded6 (diff) | |
| download | rust-9bd9bcf4964ee3eeed2bbb99567619c8fb3d70d6.tar.gz rust-9bd9bcf4964ee3eeed2bbb99567619c8fb3d70d6.zip | |
fix off-by-one error
Diffstat (limited to 'src/tools/rust-analyzer/.github/workflows')
| -rw-r--r-- | src/tools/rust-analyzer/.github/workflows/ci.yaml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/.github/workflows/ci.yaml b/src/tools/rust-analyzer/.github/workflows/ci.yaml index ec33009239c..81b55712d7f 100644 --- a/src/tools/rust-analyzer/.github/workflows/ci.yaml +++ b/src/tools/rust-analyzer/.github/workflows/ci.yaml @@ -64,7 +64,11 @@ jobs: run: | rustup update --no-self-update ${{ env.RUST_CHANNEL }} rustup default ${{ env.RUST_CHANNEL }} - rustup component add --toolchain ${{ env.RUST_CHANNEL }} rustfmt rust-src + rustup component add --toolchain ${{ env.RUST_CHANNEL }} rust-src + # We always use a nightly rustfmt, regardless of channel, because we need + # --file-lines. + rustup toolchain add nightly --profile minimal + rustup component add --toolchain nightly rustfmt # https://github.com/actions-rust-lang/setup-rust-toolchain/blob/main/rust.json - name: Install Rust Problem Matcher if: matrix.os == 'ubuntu-latest' |
