chore/CI: place .cargo/config.toml augmentations in ~/.cargo/config.toml
This commit is contained in:
parent
79c890f31a
commit
552f03c49d
2 changed files with 3 additions and 4 deletions
4
.github/actions/run_tests/action.yml
vendored
4
.github/actions/run_tests/action.yml
vendored
|
@ -22,13 +22,9 @@ runs:
|
||||||
run: script/clear-target-dir-if-larger-than 70
|
run: script/clear-target-dir-if-larger-than 70
|
||||||
|
|
||||||
- name: Run check
|
- name: Run check
|
||||||
env:
|
|
||||||
RUSTFLAGS: -D warnings
|
|
||||||
shell: bash -euxo pipefail {0}
|
shell: bash -euxo pipefail {0}
|
||||||
run: cargo check --tests --workspace
|
run: cargo check --tests --workspace
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
env:
|
|
||||||
RUSTFLAGS: -D warnings
|
|
||||||
shell: bash -euxo pipefail {0}
|
shell: bash -euxo pipefail {0}
|
||||||
run: cargo nextest run --workspace --no-fail-fast
|
run: cargo nextest run --workspace --no-fail-fast
|
||||||
|
|
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -23,6 +23,9 @@ jobs:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
- test
|
- test
|
||||||
steps:
|
steps:
|
||||||
|
- name: Set up default .cargo/config.toml
|
||||||
|
run: echo "[build]\nrustflags = [\"-D\", \"warnings\"]" > $HOME/.cargo/config.toml
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue