chore(issues): close 05 #76
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| nix-check: | |
| name: Nix Flake Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@v25 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: Magic Nix Cache | |
| uses: determinateSystems/magic-nix-cache-action@v2 | |
| - name: Check Nix Flake | |
| env: | |
| NIXPKGS_ALLOW_UNFREE: 1 | |
| run: nix flake check --impure | |
| zsh-check: | |
| name: Zsh Script Syntax Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Zsh | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y zsh | |
| - name: Check Zsh Syntax | |
| run: | | |
| for f in zsh/functions/*.sh; do | |
| zsh -n "$f" | |
| done |