fix: not enaugh whitespaces
This commit is contained in:
parent
14079c99cd
commit
7f40a7bc77
2 changed files with 9 additions and 11 deletions
14
.github/workflows/ci.yaml
vendored
14
.github/workflows/ci.yaml
vendored
|
@ -14,7 +14,7 @@ env:
|
|||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
{% if ci-tests %}
|
||||
{% if ci-tests -%}
|
||||
test:
|
||||
name: Tests
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -25,9 +25,8 @@ jobs:
|
|||
uses: dtolnay/rust-toolchain@nightly
|
||||
- name: Run cargo test
|
||||
run: cargo test
|
||||
{% endif %}
|
||||
|
||||
{% if ci-clippy %}
|
||||
{%- endif -%}
|
||||
{% if ci-clippy -%}
|
||||
clippy_check:
|
||||
name: Clippy
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -41,9 +40,8 @@ jobs:
|
|||
components: clippy
|
||||
- name: Run clippy
|
||||
run: cargo clippy -- -D warnings
|
||||
{% endif %}
|
||||
|
||||
{% if ci-fmt %}
|
||||
{%- endif -%}
|
||||
{% if ci-fmt -%}
|
||||
format:
|
||||
name: Format
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -57,4 +55,4 @@ jobs:
|
|||
components: rustfmt
|
||||
- name: Run cargo fmt
|
||||
run: cargo fmt --all -- --check
|
||||
{% endif %}
|
||||
{%- endif -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue