diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ac07b69a..e29079901 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -327,11 +327,13 @@ jobs: - name: checkout repo uses: actions/checkout@v3 - - name: install rust + - name: install rust ${{ env.RUST_VERSION }} uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: ${{ env.RUST_VERSION }} + override: true + components: clippy - name: disable debug shell: bash diff --git a/.github/workflows/cts.yml b/.github/workflows/cts.yml index 8fd788c7d..3fe7e2685 100644 --- a/.github/workflows/cts.yml +++ b/.github/workflows/cts.yml @@ -9,6 +9,7 @@ on: env: RUST_BACKTRACE: 1 + RUST_VERSION: 1.64 jobs: cts: @@ -46,12 +47,13 @@ jobs: cd cts git checkout $(cat ../wgpu/cts_runner/revision.txt) - - name: install rust + - name: install rust ${{ env.RUST_VERSION }} uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: ${{ env.RUST_VERSION }} target: ${{ matrix.target }} profile: minimal + override: true - name: caching uses: Swatinem/rust-cache@v1 diff --git a/README.md b/README.md index 46dbd914b..e4b4ae1c5 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ For an overview of all the components in the gfx-rs ecosystem, see [the big pict ### MSRV policy Minimum Supported Rust Version is **1.64**. -It is enforced on CI (in "/.github/workflows/ci.yml") with `RUST_VERSION` variable. +It is enforced on CI (in "/.github/workflows/ci.yml", "/.github/workflows/cts.yml") with `RUST_VERSION` variable. This version can only be upgraded in breaking releases. ## Getting Started