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 a69ac56 commit d1b788eCopy full SHA for d1b788e
.github/workflows/taplo.yaml
@@ -0,0 +1,22 @@
1
+name: Cargo.toml Formatting (taplo)
2
+on:
3
+ pull_request:
4
+ paths:
5
+ - '**/Cargo.toml'
6
+
7
+jobs:
8
+ cargo_toml_format:
9
+ name: Cargo.toml Formatting
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Code checkout
13
+ uses: actions/checkout@v4
14
+ - name: Install Rust toolchain
15
+ uses: dtolnay/rust-toolchain@stable
16
+ - name: Install build dependencies
17
+ run: sudo apt-get update && sudo apt-get -yqq install build-essential libssl-dev
18
+ - name: Install taplo
19
+ run: cargo install taplo-cli --locked
20
+ - name: Check formatting
21
+ run: taplo fmt --check
22
0 commit comments