mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
Fix sqlx_todo CI checks (#415)
This commit is contained in:
committed by
GitHub
parent
75c19eb5c9
commit
7487a81e90
8
.github/workflows/clippy-fmt.yml
vendored
8
.github/workflows/clippy-fmt.yml
vendored
@ -49,6 +49,14 @@ jobs:
|
||||
toolchain: stable
|
||||
components: clippy
|
||||
override: true
|
||||
|
||||
- name: create test db for sqlx
|
||||
run: |
|
||||
sudo apt-get update && sudo apt-get install sqlite3
|
||||
cd database_interactions/sqlx_todo
|
||||
cp .env.example .env
|
||||
cat schema.sql | sqlite3 test.db
|
||||
chmod a+rwx test.db
|
||||
|
||||
- name: clippy
|
||||
uses: actions-rs/clippy-check@v1
|
||||
|
8
.github/workflows/linux.yml
vendored
8
.github/workflows/linux.yml
vendored
@ -37,6 +37,14 @@ jobs:
|
||||
toolchain: ${{ matrix.version }}
|
||||
override: true
|
||||
|
||||
- name: create test db for sqlx
|
||||
run: |
|
||||
sudo apt-get update && sudo apt-get install sqlite3
|
||||
cd database_interactions/sqlx_todo
|
||||
cp .env.example .env
|
||||
cat schema.sql | sqlite3 test.db
|
||||
chmod a+rwx test.db
|
||||
|
||||
- name: cargo check
|
||||
uses: actions-rs/cargo@v1
|
||||
timeout-minutes: 30
|
||||
|
Reference in New Issue
Block a user