-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (28 loc) · 766 Bytes
/
ci-cd.yml
File metadata and controls
32 lines (28 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CI-CD
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
environment: testing
name: Unit Testing
steps:
- uses: actions/checkout@v4
- name: Run cargo test
run: cargo test --verbose --all-features -- --no-capture
clippy:
runs-on: ubuntu-latest
name: Clippy Linting Checks
steps:
- uses: actions/checkout@v4
- name: Run Clippy
run: cargo clippy --all-features -- -D warnings
fmt:
runs-on: ubuntu-latest
name: Formatting Checks
steps:
- uses: actions/checkout@v4
- name: Run cargo fmt
run: cargo fmt --check