Skip to content

Commit a90db5e

Browse files
committed
feat: add clippy rules to the package and check in CI
1 parent 3cf46a4 commit a90db5e

File tree

4 files changed

+133
-68
lines changed

4 files changed

+133
-68
lines changed

.github/workflows/check-build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Pyth SDK
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Install dependencies
14+
run: sudo apt-get update && sudo apt-get install libudev-dev
15+
- name: Build
16+
run: cargo build --verbose
17+
- name: Run tests
18+
run: cargo test --verbose
19+
- name: Check lint
20+
run: cargo clippy --all-targets --all-features -- -D warnings

0 commit comments

Comments
 (0)