From 8f4ab7730188c857f921f266a4b82bf99e545bfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Tue, 3 Dec 2024 11:59:16 +0100 Subject: [PATCH] Add a CI check to ensure heed3 is not erasing heed --- .github/workflows/rust.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 11c2db3f..9956ce3d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -54,7 +54,7 @@ jobs: bash convert-to-heed3.sh cargo check -p heed3 - check_all_features: + check-all-features: name: Check all the features of the heed project runs-on: ${{ matrix.os }} env: @@ -80,7 +80,7 @@ jobs: cargo clean cargo check --all-features -p heed - check_all_features-heed3: + check-all-features-heed3: name: Check all the features of the heed3 project runs-on: ${{ matrix.os }} env: @@ -171,3 +171,11 @@ jobs: components: rustfmt - name: Run cargo fmt run: cargo fmt --check + + no-heed3-in-heed-folder: + name: Ensure the heed3 Carho.toml is not erasing heed + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Check name is heed with grep + run: grep -q 'name = "heed"' heed/Cargo.toml