Skip to content

Commit

Permalink
add protoc setup to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
haardikk21 committed Dec 10, 2023
1 parent a7125f7 commit bca2098
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "arduino/setup-protoc@v2"
- uses: "dtolnay/rust-toolchain@stable"
- run: "cargo check"

Expand All @@ -21,6 +22,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "arduino/setup-protoc@v2"
- uses: "dtolnay/rust-toolchain@stable"
- run: "cargo test"

Expand All @@ -29,6 +31,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "arduino/setup-protoc@v2"
- uses: "dtolnay/rust-toolchain@nightly"
with:
components: "rustfmt"
Expand All @@ -39,6 +42,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "arduino/setup-protoc@v2"
- uses: "dtolnay/rust-toolchain@nightly"
with:
components: "clippy"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
expanded.rs
*.db
*.db-*
.idea/

0 comments on commit bca2098

Please sign in to comment.