fixed indent
This commit is contained in:
56
.github/workflows/rust.yml
vendored
56
.github/workflows/rust.yml
vendored
@@ -16,31 +16,31 @@ jobs:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
components: rustfmt
|
||||
override: true
|
||||
- name: Fmt Check
|
||||
run: cargo fmt -- --check
|
||||
- name: Prepare Clippy
|
||||
run: rustup component add clippy
|
||||
- name: Run clippy action to produce annotations
|
||||
uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
args: --all-targets -- -D warnings
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Setup Cross Compile Crate
|
||||
run: cargo install cross
|
||||
- name: Setup Cross Compile Environment
|
||||
run: rustup target add x86_64-unknown-linux-musl x86_64-pc-windows-msvc aarch64-apple-darwin x86_64-apple-darwin
|
||||
- name: Linux gnu Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
env:
|
||||
RUST_TEST_THREADS: 1
|
||||
run: cargo test --verbose
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
components: rustfmt
|
||||
override: true
|
||||
- name: Fmt Check
|
||||
run: cargo fmt -- --check
|
||||
- name: Prepare Clippy
|
||||
run: rustup component add clippy
|
||||
- name: Run clippy action to produce annotations
|
||||
uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
args: --all-targets -- -D warnings
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Setup Cross Compile Crate
|
||||
run: cargo install cross
|
||||
- name: Setup Cross Compile Environment
|
||||
run: rustup target add x86_64-unknown-linux-musl x86_64-pc-windows-msvc aarch64-apple-darwin x86_64-apple-darwin
|
||||
- name: Linux gnu Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
env:
|
||||
RUST_TEST_THREADS: 1
|
||||
run: cargo test --verbose
|
||||
Reference in New Issue
Block a user