We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dc2b1b commit d2e2099Copy full SHA for d2e2099
.github/workflows/ci.yml
@@ -0,0 +1,26 @@
1
+on:
2
+ merge_group:
3
+ types: [checks_requested]
4
+ pull_request:
5
+ types: [opened, synchronize, reopened]
6
+
7
+name: BuFFI CI
8
9
+jobs:
10
+ rustfmt_and_clippy:
11
+ name: Check rustfmt style && run clippy
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: dtolnay/[email protected]
16
+ with:
17
+ components: clippy, rustfmt
18
+ - name: Set environment variables
19
+ shell: bash
20
+ run: |
21
+ echo "RUSTFLAGS=-D warnings" >> $GITHUB_ENV
22
+ echo "RUSTDOCFLAGS=-D warnings" >> $GITHUB_ENV
23
+ - name: Run clippy
24
+ run: cargo clippy --workspace
25
+ -name: Run rustfmt
26
+ run: cargo fmt --all --check
0 commit comments