Skip to content

Commit afe8368

Browse files
Merge pull request #3 from Enselic/ci-cargo-test
Run `cargo test` on each push and PR to `trunk`
2 parents 598809c + 657088e commit afe8368

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/CI.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ trunk ]
6+
pull_request:
7+
branches: [ trunk ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
cargo-test:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions-rs/toolchain@v1
18+
with:
19+
toolchain: nightly
20+
profile: minimal
21+
- run: cargo test

0 commit comments

Comments
 (0)