Skip to content

Commit

Permalink
add cargo-hack
Browse files Browse the repository at this point in the history
* Run cargo check on each feature for all bins
  • Loading branch information
AkhilTThomas committed Dec 13, 2024
1 parent f57c6fd commit 9808b36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/kuksa_databroker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ jobs:
target-*/
key: databroker-release-${{ matrix.platform.name }}-${{ hashFiles('**/Cargo.lock') }}
- uses: actions/setup-python@v5
- uses: taiki-e/install-action@[email protected]
# Needed for pip
with:
python-version: '3.12'
Expand All @@ -173,6 +174,9 @@ jobs:
run: |
./scripts/build-databroker.sh ${{ matrix.platform.name }}
- name: "Check each feature"
run: cargo hack check --each-feature

- name: "Archiving artifacts"
shell: bash
working-directory: ${{github.workspace}}/dist/${{ matrix.platform.name }}
Expand Down

0 comments on commit 9808b36

Please sign in to comment.