We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94e7f1d commit 2ea1720Copy full SHA for 2ea1720
.github/workflows/build.yml
@@ -270,3 +270,21 @@ jobs:
270
- name: Deploy textwrap-wasm-demo-app
271
if: steps.git-add.outputs.has-changes == 'true'
272
run: git push origin
273
+
274
+ format:
275
+ name: Format
276
+ runs-on: ubuntu-latest
277
+ steps:
278
+ - name: Checkout repository
279
+ uses: actions/checkout@v4
280
281
+ # We use an unstable rustfmt feature and we thus need the
282
+ # nightly channel to enforce the formatting.
283
+ - name: Setup Rust nightly
284
+ run: rustup default nightly
285
286
+ - name: Install rustfmt
287
+ run: rustup component add rustfmt
288
289
+ - name: Check Formatting
290
+ uses: dprint/check@v2.2
0 commit comments