diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e74c813ffa3..9e89a08d01e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -94,7 +94,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - run: rustup update stable && rustup default stable + - run: rustup toolchain install 1.75.0 && rustup default 1.75.0 - name: Install cargo-semver-checks run: | mkdir installed-bins @@ -117,7 +117,7 @@ jobs: include: - name: Linux x86_64 stable os: ubuntu-latest - rust: stable + rust: 1.75.0 other: i686-unknown-linux-gnu # - name: Linux x86_64 beta # os: ubuntu-latest @@ -129,7 +129,7 @@ jobs: # other: i686-unknown-linux-gnu - name: macOS x86_64 stable os: macos-latest - rust: stable + rust: 1.75.0 other: x86_64-apple-ios # - name: macOS x86_64 nightly # os: macos-latest @@ -137,7 +137,7 @@ jobs: # other: x86_64-apple-ios - name: Windows x86_64 MSVC stable os: windows-latest - rust: stable-msvc + rust: 1.75.0-msvc other: i686-pc-windows-msvc # - name: Windows x86_64 gnu nightly # runs out of space while trying to link the test suite # os: windows-latest @@ -204,7 +204,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: rustup update --no-self-update stable && rustup default stable + - run: rustup toolchain install 1.75.0 && rustup default 1.75.0 - run: rustup target add i686-unknown-linux-gnu - run: sudo apt update -y && sudo apt install gcc-multilib libsecret-1-0 libsecret-1-dev -y - run: rustup component add rustfmt || echo "rustfmt not available" @@ -254,4 +254,4 @@ jobs: steps: - uses: actions/checkout@v4 - uses: taiki-e/install-action@cargo-hack - - run: cargo hack check --all-targets --rust-version --workspace --ignore-private + - run: cargo hack check --all-targets --workspace --ignore-private