Skip to content

feat: add comptime color demo (#6) #15

feat: add comptime color demo (#6)

feat: add comptime color demo (#6) #15

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