tty/.github/workflows/rust.yml
Raphael cf43f4a70b
Some checks failed
Rust / build (push) Has been cancelled
ci(rust): adding the yes to cargo install
2026-03-15 12:47:09 +01:00

26 lines
495 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 | yes | 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