diff --git a/.github/workflows/byzantine.yml b/.github/workflows/byzantine.yml index 4e0a6bc3..1615c6a5 100644 --- a/.github/workflows/byzantine.yml +++ b/.github/workflows/byzantine.yml @@ -35,11 +35,7 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true + uses: dtolnay/rust-toolchain@stable - name: Install Go uses: actions/setup-go@v4 diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index 6b3be644..b6e7961c 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -35,11 +35,7 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true + uses: dtolnay/rust-toolchain@stable - name: Install Go uses: actions/setup-go@v4 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4f3834d5..8b10f364 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,12 +28,7 @@ jobs: sudo apt-get install -y --no-install-recommends \ gcc-multilib - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - components: rustfmt, clippy - override: true + uses: dtolnay/rust-toolchain@stable - name: Check Rust version run: rustc --version # or use "abelfodil/protoc-action@v1" diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index f937a59d..fb46f469 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -35,11 +35,7 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - override: true + uses: dtolnay/rust-toolchain@stable - name: Install Go uses: actions/setup-go@v4 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e0e1e1e3..fb4f3659 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -27,12 +27,7 @@ jobs: sudo apt-get install -y --no-install-recommends \ gcc-multilib - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - components: rustfmt, clippy - override: true + uses: dtolnay/rust-toolchain@stable - name: Check Rust version run: rustc --version # or use "abelfodil/protoc-action@v1" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 44016433..4950a7d5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,10 +12,7 @@ jobs: if: "startsWith(github.event.release.tag_name, 'v')" steps: - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true + - uses: dtolnay/rust-toolchain@stable - name: publish avalanche-types crate continue-on-error: true shell: bash diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 19ed24cb..c51783c1 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -27,12 +27,7 @@ jobs: sudo apt-get install -y --no-install-recommends \ gcc-multilib - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - profile: minimal - components: rustfmt, clippy - override: true + uses: dtolnay/rust-toolchain@stable - name: Check Rust version run: rustc --version # or use "abelfodil/protoc-action@v1"