Skip to content

Commit 2b451aa

Browse files
committed
ci: replace arduino/setup-protoc with apt-get install
1 parent 357dec9 commit 2b451aa

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ jobs:
1414
components: rustfmt, clippy
1515
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
1616
- name: Install Protoc
17-
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
18-
with:
19-
repo-token: ${{ secrets.GITHUB_TOKEN }}
17+
run: sudo apt-get install -y protobuf-compiler
2018
- name: Check code formatting
2119
run: cargo fmt --all -- --check
2220
- name: Check cargo clippy warnings

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ jobs:
1010
uses: dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
1111
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1212
- name: Install Protoc
13-
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
14-
with:
15-
repo-token: ${{ secrets.GITHUB_TOKEN }}
13+
run: sudo apt-get install -y protobuf-compiler
1614
- name: Run integration tests
1715
run: |
1816
./tests/integration-tests.sh

0 commit comments

Comments
 (0)