Skip to content

Commit 77af724

Browse files
Nothing4Youphiresky
authored andcommitted
fix diesel_cli version to prevent compile error on rust 1.81 (LemmyNet#5609)
backport of 303db02 from LemmyNet#5389 Co-authored-by: phiresky <phireskyde+git@gmail.com>
1 parent 5a46011 commit 77af724

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.woodpecker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ variables:
88
- &install_binstall "wget -O- https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz | tar -xvz -C /usr/local/cargo/bin"
99
- install_diesel_cli: &install_diesel_cli
1010
- apt-get update && apt-get install -y postgresql-client
11-
# --locked ensures compatibility with the currently used rust version
12-
- cargo install diesel_cli --no-default-features --features postgres --locked
11+
# diesel_cli@2.2.8 is the last version that supports rust 1.81, which we are currently locked on due to perf regressions on rust 1.82+ :(
12+
- cargo install --locked diesel_cli@2.2.8 --no-default-features --features postgres
1313
- export PATH="$CARGO_HOME/bin:$PATH"
1414
- &slow_check_paths
1515
- event: pull_request

0 commit comments

Comments
 (0)