Skip to content

Commit b62a4a6

Browse files
authored
Unbork CI on current by downgrading versions and allowing a Clippy lint (#3308)
1 parent f690158 commit b62a4a6

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
uses: Swatinem/rust-cache@v2
2727

2828
- name: Run clippy
29-
run: cargo clippy --workspace --tests --features full -- -D warnings --cfg ignore_serenity_deprecated
29+
#!! Remove `-A clippy::result_large_err` once this is on `next`. This is to
30+
#!! temporarily allow Clippy CI to run on `current`
31+
run: cargo clippy --workspace --tests --features full -- -A clippy::result_large_err -D warnings --cfg ignore_serenity_deprecated
3032

3133
rustfmt:
3234
name: Format
@@ -43,7 +45,7 @@ jobs:
4345

4446
- name: Add problem matchers
4547
run: echo "::add-matcher::.github/matchers/rust.json"
46-
48+
4749
- name: Cache
4850
uses: Swatinem/rust-cache@v2
4951

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ edition = "2021"
2727
rust-version = "1.74"
2828

2929
[dependencies]
30+
#!! Downgrade to versions still supporting v1.74.0
31+
#!! Make sure to remove on `next`
32+
litemap = "=0.7.4"
33+
zerofrom = "=0.1.5"
34+
3035
# Required dependencies
3136
bitflags = "2.4.2"
3237
serde_json = "1.0.108"

0 commit comments

Comments
 (0)