Merge pull request #565 from usamoi/main #278
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 Flakes" | |
on: | |
push: | |
branches: [dev, main] | |
pull_request: | |
branches: [dev, main] | |
jobs: | |
build-nix-flake: | |
name: Build Nix Flake | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v27 | |
- name: Build Nix Flake | |
run: nix build | |
- name: Test executable | |
run: ./result/bin/joshuto version |