add actions #3

Open
soruh wants to merge 14 commits from CI into master
2 changed files with 10 additions and 13 deletions
Showing only changes of commit 885115289e - Show all commits

View File

@ -26,4 +26,13 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1 - uses: actions-rust-lang/setup-rust-toolchain@v1
with: with:
components: clippy components: clippy
- run: cargo clippy -- -D warnings - run: cargo clippy -- -D warnings
# Run tests
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo test --all-features

View File

@ -1,12 +0,0 @@
name: "Test Suite"
on:
pull_request:
jobs:
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo test --all-features