mirror of https://github.com/telemt/telemt.git
Merge pull request #121 from vladon/git-action-for-build-n-test-every-pr
Add GitHub Actions workflow for build and test on every PR
This commit is contained in:
commit
73b40d386a
|
|
@ -42,5 +42,13 @@ jobs:
|
||||||
- name: Build Release
|
- name: Build Release
|
||||||
run: cargo build --release --verbose
|
run: cargo build --release --verbose
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: cargo test --verbose
|
||||||
|
|
||||||
|
# clippy dont fail on warnings because of active development of telemt
|
||||||
|
# and many warnings
|
||||||
|
- name: Run clippy
|
||||||
|
run: cargo clippy -- --cap-lints warn
|
||||||
|
|
||||||
- name: Check for unused dependencies
|
- name: Check for unused dependencies
|
||||||
run: cargo udeps || true
|
run: cargo udeps || true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue