Skip to content

Commit 68e3e38

Browse files
committed
Use CI workflow from ruma repository
1 parent b26a47f commit 68e3e38

1 file changed

Lines changed: 1 addition & 24 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,7 @@ on:
1414
jobs:
1515
style:
1616
name: Style
17-
runs-on: ubuntu-latest
18-
steps:
19-
- name: Checkout repo
20-
uses: actions/checkout@v6
21-
22-
- name: Install rust nightly toolchain
23-
uses: dtolnay/rust-toolchain@master
24-
with:
25-
toolchain: ${{ env.NIGHTLY }}
26-
27-
- uses: Swatinem/rust-cache@v2
28-
29-
- name: Check spelling
30-
uses: crate-ci/typos@v1.39.2
31-
32-
- name: Install cargo-sort
33-
uses: taiki-e/cache-cargo-install-action@v2
34-
with:
35-
tool: cargo-sort
36-
37-
- name: Run cargo-sort
38-
run: |
39-
cargo sort --workspace --grouped --check \
40-
--order package,lib,features,dependencies,target,dev-dependencies,build-dependencies
17+
uses: ruma/ruma/.github/workflows/style.yml@main
4118

4219
msrv:
4320
name: Minimum Supported Rust Version / Check All Features

0 commit comments

Comments
 (0)