Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Support locking to exact component versions #161

Open
richard-viney opened this issue Mar 10, 2021 · 0 comments
Open

Support locking to exact component versions #161

richard-viney opened this issue Mar 10, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@richard-viney
Copy link

Is it possible to lock the versions of components that are installed? I'm running into issues with clippy where a newer version of it gets installed and recently-added rules cause the workflow to fail due to clippy warnings that didn't previously exist. If we could lock the version of clippy somehow then this wouldn't happen, CI runs would be more deterministic, and users could upgrade clippy at their own pace.

The workflow this problem occurred on, which it seems doesn't manage to lock the clippy version, but does specify the Rust version, was setup like this:

      - name: Install Rust
        uses: actions-rs/toolchain@v1
        with:
          toolchain: 1.49.0
          components: rustfmt, clippy
      - name: Install dependencies
        run: cargo fetch
      - name: Run linter
        run: cargo clippy --release -- --deny warnings
@richard-viney richard-viney added the enhancement New feature or request label Mar 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant