feat(ci): check, test, clippy
This commit is contained in:
15
.github/workflows/check.yml
vendored
Normal file
15
.github/workflows/check.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
name: Check
|
||||||
|
|
||||||
|
on: push
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Check
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: cargo check
|
||||||
|
run: cargo check
|
||||||
15
.github/workflows/clippy.yml
vendored
Normal file
15
.github/workflows/clippy.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
name: Clippy
|
||||||
|
|
||||||
|
on: push
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
clippy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Lint (clippy)
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: cargo clippy
|
||||||
|
run: cargo clippy -- -D warnings
|
||||||
15
.github/workflows/tests.yml
vendored
Normal file
15
.github/workflows/tests.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
name: Tests
|
||||||
|
|
||||||
|
on: push
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Test
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: cargo test
|
||||||
|
run: cargo test
|
||||||
Reference in New Issue
Block a user