Skip to content

Commit

Permalink
chore: adjusted github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobressan committed Jun 13, 2024
1 parent abae63f commit 8547ebe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Prepare Environment
run: |
cargo install sql-cli
cargo sqlx db create
cargo sqlx migrate run --source ./src/driven/cache/migrations
- name: Clippy check lints
run: cargo clippy -- -D warnings
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ on:
- main

jobs:
lint:
unit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Run Unit Tests
run: cargo test
run: cargo test --lib

0 comments on commit 8547ebe

Please sign in to comment.