diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ceb38674..f1ba2e15 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,6 +21,9 @@ jobs: os: [ ubuntu-latest, macos-11, windows-latest ] steps: - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@stable + with: + toolchain: 1.71.1 - if: matrix.os == 'windows-latest' name: Windows Dependencies shell: pwsh @@ -40,6 +43,9 @@ jobs: os: [ ubuntu-latest, macos-11 ] steps: - uses: actions/checkout@v2 + - uses: dtolnay/rust-toolchain@stable + with: + toolchain: 1.71.1 - name: Integration_Test run: make integration @@ -50,6 +56,9 @@ jobs: os: [ ubuntu-latest, macos-11 ] steps: - uses: actions/checkout@v2 + - uses: dtolnay/rust-toolchain@stable + with: + toolchain: 1.71.1 - name: Linters run: | cargo fmt --version || rustup component add rustfmt @@ -68,6 +77,9 @@ jobs: - --hide-inclusion-graph --show-stats licenses steps: - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@stable + with: + toolchain: 1.71.1 - uses: EmbarkStudios/cargo-deny-action@v1 with: command: check ${{ matrix.checks }} diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index d1e19429..d4b3a02e 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -68,7 +68,7 @@ jobs: name: ckb-cli_${{env.GIT_TAG_NAME }}_${{env.REL_PKG }}.asc path: ckb-cli_${{env.GIT_TAG_NAME }}_${{env.REL_PKG }}.asc env: - BUILDER_IMAGE: nervos/ckb-docker-builder:bionic-rust-1.51.0 + BUILDER_IMAGE: nervos/ckb-docker-builder:bionic-rust-1.71.1-openssl-3.1.3 REL_PKG: x86_64-unknown-linux-gnu.tar.gz package-for-linux-aarch64: @@ -142,7 +142,7 @@ jobs: name: ckb-cli_${{env.GIT_TAG_NAME }}_${{env.REL_PKG }}.asc path: ckb-cli_${{env.GIT_TAG_NAME }}_${{env.REL_PKG }}.asc env: - BUILDER_IMAGE: nervos/ckb-docker-builder:centos-7-rust-1.51.0 + BUILDER_IMAGE: nervos/ckb-docker-builder:centos-7-rust-1.71.1-openssl-3.1.3 REL_PKG: x86_64-unknown-centos-gnu.tar.gz package-for-mac: