diff --git a/.github/workflows/cargo-fmt.yml b/.github/workflows/cargo-fmt.yml index 3a36446..c4ac685 100644 --- a/.github/workflows/cargo-fmt.yml +++ b/.github/workflows/cargo-fmt.yml @@ -2,8 +2,6 @@ name: cargo-fmt on: push: - paths: - - "**/*.rs" pull_request: jobs: diff --git a/.github/workflows/cargo-test.yml b/.github/workflows/cargo-test.yml new file mode 100644 index 0000000..284d8dd --- /dev/null +++ b/.github/workflows/cargo-test.yml @@ -0,0 +1,20 @@ +name: cargo-test + +on: + push: + pull_request: + +jobs: + fmt: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - uses: actions-rs/cargo@v1 + with: + command: test + args: --workspace --all-features --no-fail-fast