Ver código fonte

github: Run cargo fmt manually.

This should be seeing the rustfmt.toml file.
parazyd 4 anos atrás
pai
commit
3a07a9d729
1 arquivos alterados com 5 adições e 5 exclusões
  1. 5 5
      .github/workflows/ci.yml

+ 5 - 5
.github/workflows/ci.yml

@@ -36,8 +36,8 @@ jobs:
         with:
           toolchain: stable
           override: true
-      - run: rustup component add rustfmt
-      - uses: actions-rs/cargo@v1
-        with:
-          command: fmt
-          args: -- --check
+      - run: |
+          rustup component add rustfmt
+          cargo fmt -- --check
+
+