parent
3e88188f71
commit
0687c1efc3
2 changed files with 8 additions and 7 deletions
5
.github/workflows/rust.yml
vendored
5
.github/workflows/rust.yml
vendored
|
|
@ -14,10 +14,11 @@ jobs:
|
|||
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: rust:latest
|
||||
image: nixos/nix:latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- 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
|
||||
|
|
|
|||
10
flake.nix
10
flake.nix
|
|
@ -57,13 +57,13 @@
|
|||
with pkgs;
|
||||
[
|
||||
tmux-setup
|
||||
act
|
||||
docker
|
||||
rustToolchain
|
||||
cargo-watch
|
||||
cargo-edit
|
||||
cargo-audit
|
||||
act
|
||||
cargo
|
||||
cargo-audit
|
||||
cargo-edit
|
||||
cargo-watch
|
||||
docker
|
||||
openssl
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue