Add protoc to github action
This commit is contained in:
parent
08602f0010
commit
f5cc42aaa4
12
.github/workflows/rust.yml
vendored
12
.github/workflows/rust.yml
vendored
@ -23,18 +23,18 @@ 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user