浏览代码

.github: gen - add rustfmt to toolchain

Dave Tucker 2 年之前
父节点
当前提交
ce7a8b7dc1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      .github/workflows/gen.yml

+ 2 - 0
.github/workflows/gen.yml

@@ -20,7 +20,9 @@ jobs:
 
 
       - uses: actions-rs/toolchain@v1
       - uses: actions-rs/toolchain@v1
         with:
         with:
+          profile: minimal
           toolchain: nightly
           toolchain: nightly
+          components: rustfmt, clippy
           override: true
           override: true
 
 
       - uses: Swatinem/rust-cache@v1
       - uses: Swatinem/rust-cache@v1