Add bead issue contract automation #18
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: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" | |
| YAZELIX_DIR: ${{ github.workspace }} | |
| defaults: | |
| run: | |
| shell: nu {0} | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@v21 | |
| with: | |
| determinate: false | |
| - name: Enable Nix cache | |
| uses: DeterminateSystems/magic-nix-cache-action@v13 | |
| with: | |
| use-gha-cache: true | |
| use-flakehub: false | |
| - name: Set up Nushell | |
| uses: hustcer/setup-nu@v3 | |
| with: | |
| version: "0.111.0" | |
| - name: Validate Nushell syntax | |
| run: nu nushell/scripts/dev/validate_syntax.nu | |
| - name: Validate README version marker | |
| run: nu nushell/scripts/dev/validate_readme_version.nu | |
| - name: Run yzx command tests | |
| run: nu nushell/scripts/dev/test_yzx_commands.nu | |
| - name: Check Home Manager flake | |
| shell: bash | |
| run: nix flake check ./home_manager --no-build |