diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5c1758d..458ed5e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,46 +2,45 @@ name: Build on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] env: CARGO_TERM_COLOR: always jobs: build-ubuntu-x86: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - - name: Install solc - run: | - mkdir -p solc - curl -sSL --output solc/solc https://github.com/ethereum/solidity/releases/download/v0.8.25/solc-static-linux - chmod +x solc/solc - echo "$(pwd)/solc/" >> $GITHUB_PATH + - name: Install solc + run: | + mkdir -p solc + curl -sSL --output solc/solc https://github.com/ethereum/solidity/releases/download/v0.8.26/solc-static-linux + chmod +x solc/solc + echo "$(pwd)/solc/" >> $GITHUB_PATH - - name: Install LLVM - run: | - curl -sSL --output llvm.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.4/clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04.tar.xz - tar Jxf llvm.tar.xz - mv clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04 llvm18/ - echo "$(pwd)/llvm18/bin" >> $GITHUB_PATH + - name: Install LLVM + run: | + curl -sSL --output llvm.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.4/clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04.tar.xz + tar Jxf llvm.tar.xz + mv clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04 llvm18/ + echo "$(pwd)/llvm18/bin" >> $GITHUB_PATH - - name: Install apt dependencies - run: sudo apt update && sudo apt install -y libtinfo5 + - name: Install apt dependencies + run: sudo apt update && sudo apt install -y libtinfo5 - - name: Format - run: make format + - name: Format + run: make format - - name: Clippy - run: make clippy + - name: Clippy + run: make clippy - - name: Test cargo workspace - run: make test-workspace + - name: Test cargo workspace + run: make test-workspace - - name: Test CLI - run: make test-cli + - name: Test CLI + run: make test-cli diff --git a/crates/solidity/src/solc/mod.rs b/crates/solidity/src/solc/mod.rs index 31d308e..6985ab8 100644 --- a/crates/solidity/src/solc/mod.rs +++ b/crates/solidity/src/solc/mod.rs @@ -37,7 +37,7 @@ impl Compiler { pub const FIRST_VIA_IR_VERSION: semver::Version = semver::Version::new(0, 8, 13); /// The last supported version of `solc`. - pub const LAST_SUPPORTED_VERSION: semver::Version = semver::Version::new(0, 8, 25); + pub const LAST_SUPPORTED_VERSION: semver::Version = semver::Version::new(0, 8, 26); /// A shortcut constructor. /// Different tools may use different `executable` names. For example, the integration tester