浏览代码

Pin clippy check to 1.49.0

It can be rather surprising when new lints pop up when a new stable
toolchain is released. Let's pin this check to a specific version to
avoid those surprises.
Alex Crawford 4 年之前
父节点
当前提交
0b0f96e65a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/clippy.yml

+ 1 - 1
.github/workflows/clippy.yml

@@ -17,7 +17,7 @@ jobs:
       - uses: actions-rs/toolchain@v1
         with:
           profile: minimal
-          toolchain: stable
+          toolchain: 1.49.0
           override: true
           components: clippy
       - uses: actions-rs/clippy-check@v1