fix: resolve CI workflow path and add lint job
This commit is contained in:
@@ -15,10 +15,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
rust-version: '1.70'
|
rust-version: '1.70'
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
- name: Set up project directory
|
|
||||||
run: mkdir -p app/api-token-vault
|
|
||||||
- name: Move to project directory
|
|
||||||
working-directory: ./app/api-token-vault
|
|
||||||
- run: cargo build --all-features
|
- run: cargo build --all-features
|
||||||
- run: cargo test --all
|
- run: cargo test --all
|
||||||
- run: cargo clippy --all-features -- -D warnings
|
- run: cargo clippy --all-features -- -D warnings
|
||||||
@@ -31,9 +27,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
rust-version: '1.70'
|
rust-version: '1.70'
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
- name: Set up project directory
|
|
||||||
run: mkdir -p app/api-token-vault
|
|
||||||
- name: Move to project directory
|
|
||||||
working-directory: ./app/api-token-vault
|
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: cargo fmt -- --check
|
run: cargo fmt -- --check
|
||||||
|
|||||||
Reference in New Issue
Block a user