diff --git a/.github/actions/build-dependencies/action.yml b/.github/actions/build-dependencies/action.yml index db0d7f52..bd66e70f 100644 --- a/.github/actions/build-dependencies/action.yml +++ b/.github/actions/build-dependencies/action.yml @@ -23,6 +23,8 @@ runs: sudo apt install -y ca-certificates protobuf-compiler elif [ "$RUNNER_OS" == "Windows" ]; then choco install protoc + elif [ "$RUNNER_OS" == "macOS" ]; then + brew install protobuf fi - name: Install solc diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 90b3f60d..70711264 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: clippy: strategy: matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -37,7 +37,8 @@ jobs: # The above clippy run will cause it to be updated, so checking there's # no differences present now performs the desired check - name: Verify lockfile - run: git diff | wc -l | grep -x "0" + shell: bash + run: git diff | wc -l | LC_ALL="en_US.utf8" grep -x -e "^[ ]*0" deny: runs-on: ubuntu-latest