Bump url from 2.5.2 to 2.5.3 #375
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nix | |
on: | |
pull_request: | |
push: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y mariadb-client | |
- name: Databases | |
run: docker compose up -d | |
- name: Run tests | |
run: cargo test --verbose | |
nix: | |
needs: [test] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v25 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Databases | |
run: docker compose up -d | |
- name: Nix flake check | |
run: nix flake check | |
- name: Test nix build | |
run: | | |
nix run . -- --help | grep -q "Usage: geni <COMMAND>" || exit 2 |