Skip to content

Commit 9572f54

Browse files
committed
Add GitHub check and test workflows
1 parent ad70083 commit 9572f54

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/check.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# .github/workflows/check.yml
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
check:
10+
permissions:
11+
checks: write
12+
uses: joshka/github-workflows/.github/workflows/rust-check.yml@main
13+
with:
14+
msrv: 1.56.0 # this is optional defaults to 1.56.0

.github/workflows/test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# .github/workflows/test.yml
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
uses: joshka/github-workflows/.github/workflows/rust-test.yml@main
11+
with:
12+
crate_type: lib # (optional) change to bin to avoid running cargo test --doc
13+
secrets:
14+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)