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:
|
with:
|
||||||
java-version: "25"
|
java-version: "25"
|
||||||
distribution: "temurin"
|
distribution: "temurin"
|
||||||
|
|
||||||
|
- name: Install Protoc
|
||||||
|
uses: arduino/setup-protoc@v3
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@v5
|
uses: gradle/actions/setup-gradle@v5
|
||||||
- name: Build JAR with Gradle
|
- name: Build JAR with Gradle
|
||||||
run: ./gradlew jar
|
run: ./gradlew jar
|
||||||
working-directory: java
|
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
|
- name: Lint with Clippy
|
||||||
run: cargo clippy -- -D warnings
|
run: cargo clippy -- -D warnings
|
||||||
working-directory: rust
|
working-directory: rust
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user