Skip to content

Commit

Permalink
Add GitHub check and test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
joshka committed Jun 22, 2024
1 parent ad70083 commit 9572f54
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 9572f54

Please sign in to comment.