mirror of
https://github.com/atuinsh/atuin.git
synced 2024-12-25 16:39:18 +01:00
c10ba684e0
* some simple server tests * fmt * logging in server test * log server errors * fix postgres uri * postgres ports * localhost again? * Rebase fixes --------- Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
31 lines
698 B
YAML
31 lines
698 B
YAML
# Verify the Nix build is working
|
|
# Failures will usually occur due to an out of date Rust version
|
|
# That can be updated to the latest version in nixpkgs-unstable with `nix flake update`
|
|
name: Nix
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3.5.0
|
|
- uses: cachix/install-nix-action@v20
|
|
|
|
- name: Run nix flake check
|
|
run: nix flake check --print-build-logs
|
|
|
|
build-test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3.5.0
|
|
- uses: cachix/install-nix-action@v20
|
|
|
|
- name: Run nix build
|
|
run: nix build --print-build-logs
|