diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..f223428 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,14 @@ +# .github/workflows/check.yml +on: + push: + branches: + - master + pull_request: + +jobs: + check: + permissions: + checks: write + uses: joshka/github-workflows/.github/workflows/rust-check.yml@main + with: + msrv: 1.56.0 # this is optional defaults to 1.56.0 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..26cbb7d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,14 @@ +# .github/workflows/test.yml +on: + push: + branches: + - master + pull_request: + +jobs: + test: + uses: joshka/github-workflows/.github/workflows/rust-test.yml@main + with: + crate_type: lib # (optional) change to bin to avoid running cargo test --doc + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}