mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-18 00:00:15 +02:00
Sort dependencies in Cargo.tomls (#1076)
* sort dependencies * check sorted deps on CI * this should fail * does caching matter? * fix sorting
This commit is contained in:
@@ -182,3 +182,26 @@ jobs:
|
||||
-p axum-extra
|
||||
-p axum-macros
|
||||
--target armv5te-unknown-linux-musleabi
|
||||
|
||||
dependecies-are-sorted:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
pwd:
|
||||
- .
|
||||
- examples
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: beta
|
||||
override: true
|
||||
profile: minimal
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- name: Install cargo-sort
|
||||
run: |
|
||||
cargo install cargo-sort
|
||||
- name: Check dependecy tables
|
||||
working-directory: ${{ matrix.pwd }}
|
||||
run: |
|
||||
cargo sort --workspace --grouped --check
|
||||
|
||||
Reference in New Issue
Block a user