Fix CI workflow path filter to ignore api-token-vault subdirectory
Some checks failed
CI / test (push) Failing after 2s
Some checks failed
CI / test (push) Failing after 2s
This commit is contained in:
@@ -3,8 +3,12 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- 'api-token-vault/**'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- 'api-token-vault/**'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@@ -13,19 +17,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-rust@v1
|
||||
with:
|
||||
rust-version: '1.70'
|
||||
components: rustfmt, clippy
|
||||
rust-version: stable
|
||||
- run: cargo build --all-features
|
||||
- run: cargo test --all
|
||||
- run: cargo test --all-features
|
||||
- run: cargo clippy --all-features -- -D warnings
|
||||
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-rust@v1
|
||||
with:
|
||||
rust-version: '1.70'
|
||||
components: rustfmt
|
||||
- name: Check formatting
|
||||
run: cargo fmt -- --check
|
||||
|
||||
Reference in New Issue
Block a user