diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 615362d..b14b234 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,11 @@ jobs: - uses: actions/checkout@v2 with: submodules: 'true' + - name: Install rust 1.70.0 + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - name: install libusb-1.0 run: sudo apt-get install libusb-1.0-0-dev - name: build @@ -30,6 +35,11 @@ jobs: - uses: actions/checkout@v2 with: submodules: 'true' + - name: Install rust 1.70.0 + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - name: install libusb-1.0 run: sudo apt-get install libusb-1.0-0-dev - name: build @@ -46,6 +56,11 @@ jobs: - uses: actions/checkout@v2 with: submodules: 'true' + - name: Install rust 1.70.0 + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - name: build shell: bash run: cargo build --workspace --verbose @@ -63,6 +78,11 @@ jobs: - uses: actions/checkout@v2 with: submodules: 'true' + - name: Install rust 1.70.0 + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - name: install llvm and clang uses: KyleMayes/install-llvm-action@v1 with: @@ -86,6 +106,11 @@ jobs: - uses: actions/checkout@v2 with: submodules: 'true' + - name: Install rust 1.70.0 + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - name: install libusb-1.0 run: sudo apt-get install libusb-1.0-0-dev - run: rustup component add clippy diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index e38c421..8f06a02 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -17,6 +17,11 @@ jobs: - uses: actions/checkout@v2 with: submodules: 'true' + - name: Install rust 1.70.0 + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - name: install libusb-1.0 run: sudo apt-get install libusb-1.0-0-dev - name: Download renamer @@ -40,6 +45,11 @@ jobs: - uses: actions/checkout@v2 with: submodules: 'true' + - name: Install rust 1.70.0 + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - name: Download renamer run: curl -sSf https://raw.githubusercontent.com/memflow/memflowup/master/target_rename.sh > target_rename.sh - name: build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f6d798a..03c201e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,11 @@ jobs: - uses: actions/checkout@v2 with: submodules: 'true' + - name: Install rust 1.70.0 + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - name: install libusb-1.0 run: sudo apt-get install libusb-1.0-0-dev - name: build @@ -32,6 +37,11 @@ jobs: - uses: actions/checkout@v2 with: submodules: 'true' + - name: Install rust 1.70.0 + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - name: install llvm and clang uses: KyleMayes/install-llvm-action@v1 with: