fix: not enaugh whitespaces
This commit is contained in:
parent
7f40a7bc77
commit
e13570eb2d
2 changed files with 7 additions and 7 deletions
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
|
@ -14,7 +14,7 @@ env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
{% if ci-tests -%}
|
{%- if ci-tests %}
|
||||||
test:
|
test:
|
||||||
name: Tests
|
name: Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -25,8 +25,8 @@ jobs:
|
||||||
uses: dtolnay/rust-toolchain@nightly
|
uses: dtolnay/rust-toolchain@nightly
|
||||||
- name: Run cargo test
|
- name: Run cargo test
|
||||||
run: cargo test
|
run: cargo test
|
||||||
{%- endif -%}
|
{%- endif %}
|
||||||
{% if ci-clippy -%}
|
{% if ci-clippy %}
|
||||||
clippy_check:
|
clippy_check:
|
||||||
name: Clippy
|
name: Clippy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -40,8 +40,8 @@ jobs:
|
||||||
components: clippy
|
components: clippy
|
||||||
- name: Run clippy
|
- name: Run clippy
|
||||||
run: cargo clippy -- -D warnings
|
run: cargo clippy -- -D warnings
|
||||||
{%- endif -%}
|
{%- endif %}
|
||||||
{% if ci-fmt -%}
|
{% if ci-fmt %}
|
||||||
format:
|
format:
|
||||||
name: Format
|
name: Format
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -14,10 +14,10 @@ repository = "git@github.com:{{username}}/{{project-name}}.git"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{% if tracing -%}
|
{%- if tracing %}
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
tracing-subscriber = "0.3"
|
tracing-subscriber = "0.3"
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{% if async -%}
|
{%- if async %}
|
||||||
tokio = { version = "1.0", features = ["full"] }
|
tokio = { version = "1.0", features = ["full"] }
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
Loading…
Reference in a new issue