Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
theoforger committed Nov 13, 2024
1 parent ea80435 commit 35c06ed
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,23 @@ env:
DEFAULT_MODEL_ID: ""

jobs:
build:

lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Test -V
run: cargo run -- -V
- name: Test -h
run: cargo run -- -h
- name: Run unit testing
run: cargo test
- name: Run linting test
- name: Run rustfmt
run: cargo fmt --check
- name: Run clippy
run: cargo clippy --all-features --all-targets -- -D clippy::all
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run unit testing
run: cargo test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose

0 comments on commit 35c06ed

Please sign in to comment.