From c6ab64d3172177afb00c7a115972f9dacc0ca9f3 Mon Sep 17 00:00:00 2001 From: nitrogenez Date: Sun, 3 Sep 2023 20:50:15 +0300 Subject: [PATCH] little CI updates, added scheduled CI builds --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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