fix sudo parser & add syntax tests #1657
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: "Test" | |
on: | |
pull_request: | |
push: | |
schedule: | |
# every sunday morning | |
- cron: "0 0 * * 0" | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v23 | |
with: | |
nix_path: nixpkgs=channel:nixpkgs-unstable | |
- run: nix build .#ci --print-build-logs | |
- name: validate core CLI demo | |
run: nix-shell --run ./demo | |
- name: validate new CLI demo | |
run: nix develop --command ./demo |