Browse Source

ci: use `dtolnay/rust-toolchain` instead of `actions-rs/toolchain` (#315)

Bryan Lee 2 năm trước cách đây
mục cha
commit
fa7673bc11
1 tập tin đã thay đổi với 2 bổ sung5 xóa
  1. 2 5
      .github/workflows/lint.yml

+ 2 - 5
.github/workflows/lint.yml

@@ -23,12 +23,9 @@ jobs:
           check-latest: true
           check-latest: true
 
 
       - name: Install
       - name: Install
-        uses: actions-rs/toolchain@v1
+        uses: dtolnay/rust-toolchain@stable
         with:
         with:
-          toolchain: stable
-          profile: minimal
-          override: true
-          components: rustfmt, clippy
+          components: clippy, rustfmt
 
 
       - name: Cache NPM dependencies
       - name: Cache NPM dependencies
         uses: actions/cache@v3
         uses: actions/cache@v3