From c344974af20b8b1830fd2e74272cd014edd0cf2f Mon Sep 17 00:00:00 2001 From: AkhilTThomas Date: Thu, 2 Jan 2025 11:44:53 +0100 Subject: [PATCH] move cargo check each feat to unit test action --- .github/workflows/kuksa_databroker_build.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/kuksa_databroker_build.yml b/.github/workflows/kuksa_databroker_build.yml index a4b2fb6e..d5c6ff65 100644 --- a/.github/workflows/kuksa_databroker_build.yml +++ b/.github/workflows/kuksa_databroker_build.yml @@ -130,6 +130,12 @@ jobs: with: files: lcov.info token: ${{ secrets.CODECOV_TOKEN }} + - uses: taiki-e/install-action@v2.9.4 + with: + tool: cargo-hack@0.6 + - name: "Check each feature" + working-directory: ${{github.workspace}} + run: cargo hack check --each-feature build: name: Build @@ -160,9 +166,6 @@ jobs: # Needed for pip with: python-version: '3.12' - - uses: taiki-e/install-action@v2.9.4 - with: - tool: cargo-hack@0.6 - name: Install build prerequisites working-directory: ${{github.workspace}}/ run: | @@ -176,10 +179,6 @@ jobs: run: | ./scripts/build-databroker.sh ${{ matrix.platform.name }} - - name: "Check each feature" - working-directory: ${{github.workspace}} - run: cargo hack check --each-feature - - name: "Archiving artifacts" shell: bash working-directory: ${{github.workspace}}/dist/${{ matrix.platform.name }}