|
|
@@ -53,7 +53,7 @@ jobs:
|
|
|
with:
|
|
|
submodules: recursive
|
|
|
- name: Rust stable
|
|
|
- run: rustup default 1.70.0
|
|
|
+ run: rustup default 1.72.0
|
|
|
- name: Run cargo clippy
|
|
|
run: cargo clippy --workspace --tests --bins -- -D warnings
|
|
|
- name: Run cargo clippy without wasm_opt feature
|
|
|
@@ -86,7 +86,7 @@ jobs:
|
|
|
with:
|
|
|
submodules: recursive
|
|
|
- name: Rust stable
|
|
|
- run: rustup default 1.70.0
|
|
|
+ run: rustup default 1.72.0
|
|
|
- name: Build
|
|
|
run: cargo build --verbose
|
|
|
- name: Run tests
|
|
|
@@ -113,7 +113,7 @@ jobs:
|
|
|
# Use C:\ as D:\ might run out of space
|
|
|
- name: "Use C: for rust temporary files"
|
|
|
run: echo "CARGO_TARGET_DIR=C:\target" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
|
|
|
- - uses: dtolnay/rust-toolchain@1.70.0
|
|
|
+ - uses: dtolnay/rust-toolchain@1.72.0
|
|
|
with:
|
|
|
components: clippy
|
|
|
# We run clippy on Linux in the lint job above, but this does not check #[cfg(windows)] items
|
|
|
@@ -140,7 +140,7 @@ jobs:
|
|
|
uses: actions/checkout@v3
|
|
|
with:
|
|
|
submodules: recursive
|
|
|
- - uses: dtolnay/rust-toolchain@1.70.0
|
|
|
+ - uses: dtolnay/rust-toolchain@1.72.0
|
|
|
- name: Get LLVM
|
|
|
run: curl -sSL --output llvm15.0-mac-arm.tar.xz https://github.com/hyperledger/solang-llvm/releases/download/llvm15-1/llvm15.0-mac-arm.tar.xz
|
|
|
- name: Extract LLVM
|
|
|
@@ -166,7 +166,7 @@ jobs:
|
|
|
uses: actions/checkout@v3
|
|
|
with:
|
|
|
submodules: recursive
|
|
|
- - uses: dtolnay/rust-toolchain@1.70.0
|
|
|
+ - uses: dtolnay/rust-toolchain@1.72.0
|
|
|
- name: Get LLVM
|
|
|
run: wget -q -O llvm15.0-mac-intel.tar.xz https://github.com/hyperledger/solang-llvm/releases/download/llvm15-1/llvm15.0-mac-intel.tar.xz
|
|
|
- name: Extract LLVM
|