Просмотр исходного кода

github: Run cargo fmt manually.

This should be seeing the rustfmt.toml file.
parazyd 4 лет назад
Родитель
Сommit
3a07a9d729
1 измененных файлов с 5 добавлено и 5 удалено
  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
+
+