Skip to content

Commit c10e8a1

Browse files
committed
update ci
1 parent 56c4048 commit c10e8a1

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,20 @@ jobs:
1919
- uses: actions/checkout@v4
2020

2121
- name: Install Protoc
22-
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
22+
uses: arduino/setup-protoc@v3
23+
24+
- name: Set up Python
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: '3.10'
28+
cache: 'pip'
2329

2430
- uses: dtolnay/rust-toolchain@stable
2531

32+
- name: Install Linting Tools
33+
run: |
34+
pip install black ruff mypy
35+
2636
- name: Rust Fmt
2737
run: make fmt-check
2838

@@ -38,7 +48,7 @@ jobs:
3848
- uses: actions/checkout@v4
3949

4050
- name: Install Protoc
41-
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
51+
uses: arduino/setup-protoc@v3
4252

4353
- name: Set up Python
4454
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)