tty/.github/workflows/rust.yml
Raphael 5139c235dd
Some checks failed
Rust / build (push) Failing after 3s
ci(rust): adding the cargo installation
2026-03-15 12:45:08 +01:00

26 lines
489 B
YAML

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install cargo
run: curl https://sh.rustup.rs -sSf | sh
- 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