Skip to content

Commit 2c41a97

Browse files
committed
Cargo workflow
1 parent 15c8e58 commit 2c41a97

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/cargo.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: cargo
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
paths:
9+
- "Modules/cpython-sys/**"
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
build:
17+
timeout-minutes: 15
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- uses: actions/checkout@v6
21+
- uses: dtolnay/rust-toolchain@stable
22+
with:
23+
toolchain: stable
24+
- run: cargo test
25+
- run: cargo fmt --check
26+
- run: cargo clippy

0 commit comments

Comments
 (0)