Skip to content

Commit c3fc7bb

Browse files
authored
ci: Remove unnecessary package handling (#3628)
1 parent f829daf commit c3fc7bb

File tree

1 file changed

+2
-29
lines changed

1 file changed

+2
-29
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -142,25 +142,7 @@ jobs:
142142
with:
143143
save-if: ${{ github.ref == 'refs/heads/main' }}
144144
- name: Run tests
145-
run: >
146-
cargo +${{ env.MSRV }}
147-
test
148-
-p axum
149-
-p axum-extra
150-
-p axum-core
151-
--all-features
152-
--locked
153-
# the compiler errors are different on our MSRV which makes
154-
# the trybuild tests in axum-macros fail, so just run the doc
155-
# tests
156-
- name: Run axum-macros doc tests
157-
run: >
158-
cargo +${{ env.MSRV }}
159-
test
160-
-p axum-macros
161-
--doc
162-
--all-features
163-
--locked
145+
run: cargo +${{ env.MSRV }} test --locked --all-features
164146

165147
test-docs:
166148
needs: check
@@ -205,16 +187,7 @@ jobs:
205187
env:
206188
# Clang has native cross-compilation support
207189
CC: clang
208-
run: >
209-
cargo
210-
check
211-
--all-targets
212-
--all-features
213-
-p axum
214-
-p axum-core
215-
-p axum-extra
216-
-p axum-macros
217-
--target armv5te-unknown-linux-musleabi
190+
run: cargo check --all-targets --all-features --target armv5te-unknown-linux-musleabi
218191

219192
wasm32-unknown-unknown:
220193
needs: check

0 commit comments

Comments
 (0)