mirror of
https://github.com/casey/just.git
synced 2025-12-23 11:37:29 +00:00
Use stable rustfmt instead of nightly (#967)
This commit is contained in:
parent
ca2b596c90
commit
629c75ff04
55 changed files with 537 additions and 523 deletions
12
.github/workflows/build.yaml
vendored
12
.github/workflows/build.yaml
vendored
|
|
@ -80,7 +80,7 @@ jobs:
|
|||
|
||||
- name: Install Rust Toolchain
|
||||
run: |
|
||||
rustup component add clippy
|
||||
rustup component add clippy rustfmt
|
||||
rustup target add ${{ matrix.target }}
|
||||
rustup default "`cat rust-toolchain`-${{ matrix.target }}"
|
||||
|
||||
|
|
@ -108,16 +108,8 @@ jobs:
|
|||
- name: Clippy
|
||||
run: cargo clippy --all --all-targets --all-features
|
||||
|
||||
- name: Install Rustfmt Toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
target: ${{ matrix.target }}
|
||||
profile: minimal
|
||||
components: rustfmt
|
||||
|
||||
- name: Format
|
||||
run: cargo +nightly fmt --all -- --check
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
- name: Completion Scripts
|
||||
if: ${{ matrix.os != 'windows-2016' }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue