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
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: rust:latest
|
image: nixos/nix:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: build
|
||||||
|
run: nix develop --extra-experimental-features 'nix-command flakes'
|
||||||
- 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
|
||||||
|
|
|
||||||
10
flake.nix
10
flake.nix
|
|
@ -57,13 +57,13 @@
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
tmux-setup
|
tmux-setup
|
||||||
act
|
|
||||||
docker
|
|
||||||
rustToolchain
|
rustToolchain
|
||||||
cargo-watch
|
act
|
||||||
cargo-edit
|
|
||||||
cargo-audit
|
|
||||||
cargo
|
cargo
|
||||||
|
cargo-audit
|
||||||
|
cargo-edit
|
||||||
|
cargo-watch
|
||||||
|
docker
|
||||||
openssl
|
openssl
|
||||||
]
|
]
|
||||||
++ lib.optionals stdenv.isDarwin [
|
++ lib.optionals stdenv.isDarwin [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue