tty/.github/workflows/rust.yml
Raphael 0687c1efc3
Some checks failed
Rust / build (push) Failing after 22s
2026-03-15 17:12:03 +01:00

27 lines
537 B
YAML

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
container:
image: nixos/nix:latest
steps:
- name: build
run: nix develop --extra-experimental-features 'nix-command flakes'
- 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