Skip to content

Commit 7911268

Browse files
AkhilTThomasSebastianSchildt
authored andcommitted
move cargo check each feat to unit test action
1 parent d53cafa commit 7911268

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/kuksa_databroker_build.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ jobs:
130130
with:
131131
files: lcov.info
132132
token: ${{ secrets.CODECOV_TOKEN }}
133+
- uses: taiki-e/install-action@v2.9.4
134+
with:
135+
tool: cargo-hack@0.6
136+
- name: "Check each feature"
137+
working-directory: ${{github.workspace}}
138+
run: cargo hack check --each-feature
133139

134140
build:
135141
name: Build
@@ -160,9 +166,6 @@ jobs:
160166
# Needed for pip
161167
with:
162168
python-version: '3.12'
163-
- uses: taiki-e/install-action@v2.9.4
164-
with:
165-
tool: cargo-hack@0.6
166169
- name: Install build prerequisites
167170
working-directory: ${{github.workspace}}/
168171
run: |
@@ -176,10 +179,6 @@ jobs:
176179
run: |
177180
./scripts/build-databroker.sh ${{ matrix.platform.name }}
178181
179-
- name: "Check each feature"
180-
working-directory: ${{github.workspace}}
181-
run: cargo hack check --each-feature
182-
183182
- name: "Archiving artifacts"
184183
shell: bash
185184
working-directory: ${{github.workspace}}/dist/${{ matrix.platform.name }}

0 commit comments

Comments
 (0)