From e750809ec23180d6e1e83e5dd3909fcb8d67fa1f Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Thu, 14 Jul 2022 17:44:36 +0200 Subject: lint-ci: Use modern workspace option instead of all --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 688c2087..4a206fbf 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,4 +9,4 @@ jobs: components: clippy - uses: actions/checkout@master - name: Check lints - run: cargo clippy --all --all-features --no-deps + run: cargo clippy --workspace --all-features --no-deps -- cgit From 09d2541a7a88441dd91881287c6b56baadde9e51 Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Thu, 14 Jul 2022 17:45:03 +0200 Subject: lint-ci: Check examples, tests and benches too --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4a206fbf..09cde39b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,4 +9,4 @@ jobs: components: clippy - uses: actions/checkout@master - name: Check lints - run: cargo clippy --workspace --all-features --no-deps + run: cargo clippy --workspace --all-features --all-targets --no-deps -- cgit From 1d7a4690a440836a42e8e64c9c97da181a1147ed Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Thu, 14 Jul 2022 17:47:48 +0200 Subject: lint-ci: Consider clippy warnings as errors --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 09cde39b..6fd98374 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,4 +9,4 @@ jobs: components: clippy - uses: actions/checkout@master - name: Check lints - run: cargo clippy --workspace --all-features --all-targets --no-deps + run: cargo clippy --workspace --all-features --all-targets --no-deps -- -D warnings -- cgit From b6278afe3acfc57567fb20c9fc9b1bd7c38796ba Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Thu, 14 Jul 2022 17:46:33 +0200 Subject: format-ci: Add verbose option for format lints --- .github/workflows/format.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 92caff79..42a96411 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -9,4 +9,4 @@ jobs: components: rustfmt - uses: actions/checkout@master - name: Check format - run: cargo fmt --all -- --check + run: cargo fmt --all -- --check --verbose -- cgit From 408474ca3181ec9948236372ad15d10fce8b280a Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Thu, 14 Jul 2022 17:55:50 +0200 Subject: test-ci: Use modern workspace option instead of all --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 433afadc..38b81842 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,8 +20,8 @@ jobs: sudo apt-get install -y libxkbcommon-dev - name: Run tests run: | - cargo test --verbose --all - cargo test --verbose --all --all-features + cargo test --verbose --workspace + cargo test --verbose --workspace --all-features web: runs-on: ubuntu-latest -- cgit