feat: browdie-browse — interactive terminal browser #11
Workflow file for this run
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: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Zig 0.15.0 | |
| uses: mlugg/setup-zig@v2 | |
| with: | |
| version: 0.15.0 | |
| - name: Cache Zig build artifacts | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| .zig-cache | |
| ~/.cache/zig | |
| key: zig-${{ runner.os }}-${{ hashFiles('build.zig', 'build.zig.zon') }} | |
| restore-keys: | | |
| zig-${{ runner.os }}- | |
| - name: Build | |
| run: zig build | |
| - name: Run tests | |
| run: zig build test |