Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
Test cargo-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tjardoo committed Jan 9, 2024
1 parent 286b6df commit f191da3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/cargo-build.yml
Expand Up @@ -10,8 +10,8 @@ env:
CARGO_TERM_COLOR: always

jobs:
test:
name: Test
build:
name: Build
runs-on: ubuntu-latest

services:
Expand All @@ -28,6 +28,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Install sqlx-cli
run: cargo install sqlx-cli --no-default-features --features mysql

- name: Run migrations
run: sqlx database create && sqlx migrate run

- name: Cargo build
run: cargo build --verbose
env:
Expand Down

0 comments on commit f191da3

Please sign in to comment.