ci(rust): adding the container rust
Some checks failed
Rust / build (push) Failing after 42s

This commit is contained in:
Raphael 2026-03-15 12:52:11 +01:00
parent cf43f4a70b
commit fafb8ff58b
No known key found for this signature in database

View file

@ -13,11 +13,22 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: rust:latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install cargo - name: Cache Cargo
run: curl https://sh.rustup.rs -sSf | yes | sh 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 - name: Install sqlx-cli
run: cargo install sqlx-cli --no-default-features --features postgres run: cargo install sqlx-cli --no-default-features --features postgres
- name: Prepare - name: Prepare