Skip to content

Commit e706125

Browse files
committed
Add Rust quality checks
`cargo check`, `cargo clippy`, and `cargo fmt`
1 parent bd751e0 commit e706125

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/code-quality.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: [main]
66

77
jobs:
8-
build:
8+
python:
99
runs-on: ubuntu-latest
1010
name: Python
1111
steps:
@@ -34,3 +34,13 @@ jobs:
3434
uses: astral-sh/setup-uv@v5
3535
- name: mypy
3636
run: MYPYPATH=mygfa uv tool run mypy --no-namespace-packages --disallow-untyped-defs mygfa slow_odgi pollen_data_gen
37+
38+
rust:
39+
runs-on: ubuntu-latest
40+
name: Rust
41+
steps:
42+
- uses: actions/checkout@v4
43+
- uses: uses: dtolnay/rust-toolchain@stable
44+
- run: cargo check
45+
- run: cargo clippy
46+
- run: cargo fmt --check

0 commit comments

Comments
 (0)