Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oroulet authored Feb 26, 2024
1 parent 441d2e8 commit b554dbd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

env:
CARGO_TERM_COLOR: always
DATABASE_URL: "sqlite:./db.sqlite"

jobs:
build:
Expand All @@ -16,7 +17,17 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Install sqlite3
run: sudo apt-get update && sudo apt-get install -y sqlite3 libsqlite3-dev
- name: Setup SQLite Database
run: |
touch db.sqlite
sqlite3 db.sqlite "CREATE TABLE IF NOT EXISTS wind (ts REAL PRIMARY KEY, vel REAL, direction INTEGER)"
- name: Lint
run:
run: cargo clippy -- --allow dead_code --allow clippy::missing_errors_doc
- name: Build
run: cargo build --verbose
Expand Down

0 comments on commit b554dbd

Please sign in to comment.