Upgrade Rust toolchain to 1.80.0
This also tweaks the workspace-level lints configuration to add priority on groups
This commit is contained in:
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@@ -195,8 +195,8 @@ jobs:
|
||||
|
||||
- name: Install toolchain
|
||||
run: |
|
||||
rustup toolchain install 1.78.0
|
||||
rustup default 1.78.0
|
||||
rustup toolchain install 1.80.0
|
||||
rustup default 1.80.0
|
||||
rustup component add clippy
|
||||
|
||||
- name: Setup OPA
|
||||
|
||||
@@ -16,8 +16,9 @@ package.repository = "https://github.com/matrix-org/matrix-authentication-servic
|
||||
unsafe_code = "forbid"
|
||||
|
||||
[workspace.lints.clippy]
|
||||
all = "deny"
|
||||
pedantic = "warn"
|
||||
# We use groups as good defaults, but with a lower priority so that we can override them
|
||||
all = { level = "deny", priority = -1 }
|
||||
pedantic = { level = "warn", priority = -1 }
|
||||
|
||||
str_to_string = "deny"
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
# The Debian version and version name must be in sync
|
||||
ARG DEBIAN_VERSION=12
|
||||
ARG DEBIAN_VERSION_NAME=bookworm
|
||||
ARG RUSTC_VERSION=1.78.0
|
||||
ARG RUSTC_VERSION=1.80.0
|
||||
# XXX: Upgrade to 0.10.0 blocked by https://github.com/ziglang/zig/issues/10915#issuecomment-1354548110
|
||||
# XXX: Upgrade to 0.11.0 blocked by https://github.com/rust-cross/cargo-zigbuild/issues/162
|
||||
ARG ZIG_VERSION=0.9.1
|
||||
|
||||
Reference in New Issue
Block a user