chore: remove protoc dep from CI (#26050)

It shouldn't be needed anymore
This commit is contained in:
Nathan Whitaker 2024-10-07 08:11:31 -07:00 committed by GitHub
parent 9a92603a14
commit fc293c68b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1 additions and 20 deletions

View File

@ -1,9 +1,8 @@
FROM mcr.microsoft.com/vscode/devcontainers/rust:1-bullseye FROM mcr.microsoft.com/vscode/devcontainers/rust:1-bullseye
# Install cmake and protobuf-compiler # Install cmake
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y cmake \ && apt-get install -y cmake \
&& apt-get install -y protobuf-compiler \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install Deno # Install Deno

View File

@ -32,12 +32,6 @@ jobs:
with: with:
deno-version: v1.x deno-version: v1.x
- name: Install protoc
uses: arduino/setup-protoc@v3
with:
version: '21.12'
repo-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Publish - name: Publish
env: env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

View File

@ -191,11 +191,6 @@ const installNodeStep = {
uses: "actions/setup-node@v4", uses: "actions/setup-node@v4",
with: { "node-version": 18 }, with: { "node-version": 18 },
}; };
const installProtocStep = {
name: "Install protoc",
uses: "arduino/setup-protoc@v3",
with: { "version": "21.12", "repo-token": "${{ secrets.GITHUB_TOKEN }}" },
};
const installDenoStep = { const installDenoStep = {
name: "Install Deno", name: "Install Deno",
uses: "denoland/setup-deno@v1", uses: "denoland/setup-deno@v1",
@ -494,7 +489,6 @@ const ci = {
if: "matrix.job == 'bench' || matrix.job == 'test'", if: "matrix.job == 'bench' || matrix.job == 'test'",
...installNodeStep, ...installNodeStep,
}, },
installProtocStep,
{ {
if: [ if: [
"matrix.profile == 'release' &&", "matrix.profile == 'release' &&",

View File

@ -199,12 +199,6 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
- name: Install protoc
uses: arduino/setup-protoc@v3
with:
version: '21.12'
repo-token: '${{ secrets.GITHUB_TOKEN }}'
if: '!(matrix.skip)'
- if: |- - if: |-
!(matrix.skip) && (matrix.profile == 'release' && !(matrix.skip) && (matrix.profile == 'release' &&
matrix.job == 'test' && matrix.job == 'test' &&