diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 878f819..5e27fce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,14 +2,20 @@ name: "Prism CI build" on: push: + branches: ["main"] paths: - "**.zig" pull_request: + branches: ["main"] paths: - "**.zig" + schedule: + branches: ["main"] + - cron: "30 6 * * *" jobs: build: + name: "Build" strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] @@ -20,6 +26,7 @@ jobs: - run: zig build test: + name: "Test" strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] @@ -32,6 +39,7 @@ jobs: - run: zig build test lint: + name: "Lint" runs-on: ubuntu-latest steps: - uses: actions/checkout@v3