mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
[Crate] Bump rustfmt version to 1.6.0 (#69)
This commit is contained in:
parent
bf8c087b94
commit
fb9d15f0cc
5 changed files with 96 additions and 96 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -24,10 +24,10 @@ jobs:
|
|||
- name: Install Formatting nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly-2023-03-01
|
||||
toolchain: nightly-2023-07-09
|
||||
components: rustfmt
|
||||
- name: Run Formatting check
|
||||
run: cargo +nightly-2023-03-01 fmt --check --verbose
|
||||
run: cargo +nightly-2023-07-09 fmt --check --verbose
|
||||
- name: Install MSRV
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ repos:
|
|||
language: system
|
||||
files: '[.]rs$'
|
||||
pass_filenames: false
|
||||
entry: rustup run --install nightly-2023-03-01 cargo-clippy -- -- -D warnings
|
||||
entry: rustup run --install nightly-2023-07-09 cargo-clippy -- -- -D warnings
|
||||
- id: format
|
||||
name: Check rustfmt
|
||||
language: system
|
||||
files: '[.]rs$'
|
||||
pass_filenames: false
|
||||
entry: rustup run --install nightly-2023-03-01 cargo-fmt --check
|
||||
entry: rustup run --install nightly-2023-07-09 cargo-fmt --check
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ overflow_delimited_expr = false
|
|||
reorder_impl_items = false
|
||||
reorder_imports = true
|
||||
reorder_modules = true
|
||||
required_version = "1.5.2"
|
||||
required_version = "1.6.0"
|
||||
short_array_element_width_threshold = 10
|
||||
single_line_if_else_max_width = 50
|
||||
skip_children = false
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Places to update:
|
|||
|
||||
# rustfmt version
|
||||
|
||||
Current: `1.5.2`
|
||||
Current: `1.6.0`
|
||||
|
||||
Places to update:
|
||||
- `.rustfmt.toml`
|
||||
|
|
@ -19,7 +19,7 @@ Places to update:
|
|||
|
||||
The toolchain version used to run rustfmt in CI
|
||||
|
||||
Current: `nightly-2023-03-01`
|
||||
Current: `nightly-2023-07-09`
|
||||
|
||||
Places to update:
|
||||
- `./.github/workflows/ci.yml`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue