Skip to content

Commit

Permalink
H-662: Remove installation of protoc (#3039)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDiekmann authored Aug 30, 2023
1 parent 20ed241 commit 02d5268
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,6 @@ jobs:
with:
tool: just@1.13.0,cargo-hack@0.5.26,rust-script@0.23.0,clippy-sarif@0.3.7,sarif-fmt@0.3.7

# To be removed once https://github.com/open-telemetry/opentelemetry-rust/issues/934 is sorted
- name: Install Protoc
if: matrix.directory == 'apps/hash-graph'
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Check formatting
working-directory: ${{ matrix.directory }}
run: just format --check
Expand Down Expand Up @@ -225,13 +218,6 @@ jobs:
with:
tool: just@1.13.0,cargo-hack@0.5.26,cargo-nextest@0.9.37

# To be removed once https://github.com/open-telemetry/opentelemetry-rust/issues/934 is sorted
- name: Install Protoc
if: matrix.directory == 'apps/hash-graph'
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Python
if: matrix.directory == 'apps/engine'
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
Expand Down Expand Up @@ -330,13 +316,6 @@ jobs:
with:
tool: just@1.13.0,cargo-nextest@0.9.37,cargo-llvm-cov@0.5.9

# To be removed once https://github.com/open-telemetry/opentelemetry-rust/issues/934 is sorted
- name: Install Protoc
if: matrix.directory == 'apps/hash-graph'
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run tests
working-directory: ${{ matrix.directory }}
run: just coverage --lcov --output-path lcov.info
Expand Down
3 changes: 0 additions & 3 deletions apps/hash-graph/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ WORKDIR /usr/local/src/apps/hash-graph
ARG PROFILE=production
ARG ENABLE_TEST_SERVER=no

# To be removed once https://github.com/open-telemetry/opentelemetry-rust/issues/934 is sorted
RUN apk add --no-cache make protobuf-dev

RUN --mount=type=cache,target=/usr/local/cargo/registry,sharing=locked \
--mount=type=cache,target=/usr/local/cargo/git,sharing=locked \
--mount=type=cache,target=/usr/local/src/apps/hash-graph/target,sharing=locked \
Expand Down

0 comments on commit 02d5268

Please sign in to comment.