Some checks failed
Rust / build (push) Failing after 1s

This commit is contained in:
Raphael 2026-03-15 13:07:11 +01:00
parent 171b134156
commit bb16bf0f14
No known key found for this signature in database
3 changed files with 46 additions and 19 deletions

View file

@ -13,24 +13,12 @@ jobs:
build:
runs-on: ubuntu-latest
container: rust:latest
steps:
- name: Cache Cargo
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Install sqlx-cli
run: cargo install sqlx-cli --no-default-features --features postgres
- name: Prepare
run: cargo sqlx prepare --check
- name: Build
run: cargo build
- uses: https://github.com/actions/checkout@v4
- name: Install sqlx-cli
run: cargo install sqlx-cli --no-default-features --features postgres
- name: Prepare
run: cargo sqlx prepare --check
- name: Build
run: cargo build