feat: add runtime color demo #16
Workflow file for this run
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: Build and test | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- .editorconfig | |
- .gitattributes | |
- .gitignore | |
- LICENSE | |
- README.md | |
- .github/** | |
- '!.github/workflows/build-and-test.yml' | |
- .vscode/** | |
pull_request: | |
paths-ignore: | |
- .editorconfig | |
- .gitattributes | |
- .gitignore | |
- LICENSE | |
- README.md | |
- .github/** | |
- '!.github/workflows/build-and-test.yml' | |
- .vscode/** | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-and-test: | |
name: Build & test w/zig | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: ['master'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup zig | |
uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: ${{ matrix.version }} | |
- name: Lint | |
run: zig fmt --check . | |
- name: Build and test | |
run: zig build test |