Merge branch 'main' of github.com:kamiyaa/joshuto #208
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@v3 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v22 | |
- name: Build Nix Flake | |
run: nix build | |
- name: Test executable | |
run: ./result/bin/joshuto version |