diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 239f5726..e5fd84c4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,6 +5,10 @@ on: push permissions: contents: write +concurrency: + group: ci-releases-${{ github.head_ref || github.ref }}-${{ github.repository }} + cancel-in-progress: true + jobs: build-linux: strategy: @@ -74,10 +78,7 @@ jobs: go-version: '>=1.21.0' - name: Dependencies run: | - git clone --recurse-submodules -b v1.58.0 --depth 1 --shallow-submodules https://github.com/grpc/grpc && \ - cd grpc && mkdir -p cmake/build && cd cmake/build && cmake -DgRPC_INSTALL=ON \ - -DgRPC_BUILD_TESTS=OFF \ - ../.. && make -j12 install && rm -rf grpc + brew install protobuf grpc - name: Build id: build env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a347c80f..89c6c512 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -114,10 +114,7 @@ jobs: run: go version - name: Dependencies run: | - git clone --recurse-submodules -b v1.58.0 --depth 1 --shallow-submodules https://github.com/grpc/grpc && \ - cd grpc && mkdir -p cmake/build && cd cmake/build && cmake -DgRPC_INSTALL=ON \ - -DgRPC_BUILD_TESTS=OFF \ - ../.. && make -j12 install && rm -rf grpc + brew install protobuf grpc - name: Test run: | export C_INCLUDE_PATH=/usr/local/include