File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 4545 linting :
4646 runs-on : ubuntu-latest
4747 env :
48- TOOLCHAIN : stable
48+ TOOLCHAIN : 1.63.0
4949 steps :
5050 - name : Checkout source code
5151 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -e
33set -x
4+
5+ RUSTC_MINOR_VERSION=$( rustc --version | awk ' { split($2,a,"."); print a[2] }' )
6+
7+ # Starting with version 1.39.0, the `tokio` crate has an MSRV of rustc 1.70.0
8+ [ " $RUSTC_MINOR_VERSION " -lt 70 ] && cargo update -p tokio --precise " 1.38.1" --verbose
9+ [ " $RUSTC_MINOR_VERSION " -lt 70 ] && cargo update -p tokio-util --precise " 0.7.10" --verbose
10+
411RUSTFLAGS=' -D warnings' cargo clippy -- \
512 ` # We use this for sat groupings` \
613 -A clippy::inconsistent-digit-grouping \
You can’t perform that action at this time.
0 commit comments