Change summary
.github/actions/run_tests/action.yml | 4 ----
.github/workflows/ci.yml | 3 +++
2 files changed, 3 insertions(+), 4 deletions(-)
Detailed changes
@@ -22,13 +22,9 @@ runs:
run: script/clear-target-dir-if-larger-than 70
- name: Run check
- env:
- RUSTFLAGS: -D warnings
shell: bash -euxo pipefail {0}
run: cargo check --tests --workspace
- name: Run tests
- env:
- RUSTFLAGS: -D warnings
shell: bash -euxo pipefail {0}
run: cargo nextest run --workspace --no-fail-fast
@@ -23,6 +23,9 @@ jobs:
- self-hosted
- test
steps:
+ - name: Set up default .cargo/config.toml
+ run: echo "[build]\nrustflags = [\"-D\", \"warnings\"]" > $HOME/.cargo/config.toml
+
- name: Checkout repo
uses: actions/checkout@v3
with: