non-nightly fmt

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
Yoshua Wuyts 2019-11-20 00:30:27 +01:00
parent 702f816023
commit b7f100087d
No known key found for this signature in database
GPG Key ID: 24EA8164F96777ED
1 changed files with 3 additions and 11 deletions

View File

@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable, nightly]
rust: [stable]
steps:
- uses: actions/checkout@master
@ -52,20 +52,12 @@ jobs:
steps:
- uses: actions/checkout@master
- id: component
uses: actions-rs/components-nightly@v1
with:
component: rustfmt
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: setup
run: |
rustup component add rustfmt
rustc --version
profile: minimal
components: rustfmt
- name: fmt
run: cargo fmt --all -- --check