From f5cc42aaa4dd3d95c286063a376ed849725ce358 Mon Sep 17 00:00:00 2001 From: Bjorn Beishline <75190918+BjornTheProgrammer@users.noreply.github.com> Date: Wed, 4 Feb 2026 00:12:36 -0700 Subject: [PATCH] Add protoc to github action --- .github/workflows/rust.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 87f234f..96b86b1 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -23,26 +23,26 @@ jobs: with: java-version: "25" distribution: "temurin" + + - name: Install Protoc + uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Setup Gradle uses: gradle/actions/setup-gradle@v5 - name: Build JAR with Gradle run: ./gradlew jar working-directory: java - - name: Install rustfmt & clippy - run: rustup component add rustfmt clippy - - name: Check Formatting - run: cargo fmt --all -- --check - working-directory: rust - - name: Lint with Clippy run: cargo clippy -- -D warnings working-directory: rust - + - name: Build rust run: cargo build --verbose working-directory: rust - + - name: Run rust tests run: cargo test --verbose - working-directory: rust \ No newline at end of file + working-directory: rust