Use working-directory and path options in CI workflow
Some checks failed
CI / test (push) Failing after 2s
Some checks failed
CI / test (push) Failing after 2s
This commit is contained in:
@@ -4,9 +4,14 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
defaults:
|
||||
run:
|
||||
working-directory: api-token-vault
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: api-token-vault
|
||||
|
||||
- name: Setup Rust
|
||||
uses: actions/setup-rust@v4
|
||||
@@ -14,10 +19,13 @@ jobs:
|
||||
rust-version: stable
|
||||
|
||||
- name: Build
|
||||
run: cargo build --verbose 2>&1
|
||||
run: |
|
||||
pwd
|
||||
ls -la
|
||||
cargo build --verbose
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --verbose 2>&1
|
||||
run: cargo test --verbose
|
||||
|
||||
- name: Check formatting
|
||||
run: cargo fmt -- --check 2>&1
|
||||
run: cargo fmt -- --check
|
||||
|
||||
Reference in New Issue
Block a user