From cccb7fcf9eb0269340fb459aed04f4ab07a7bdd9 Mon Sep 17 00:00:00 2001 From: Emily Flion Date: Tue, 26 Aug 2025 16:47:26 +0200 Subject: [PATCH 1/2] Add test CI Signed-off-by: Emily Flion --- .github/workflows/CI.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..c56c3d2 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,31 @@ +name: CI +on: + workflow_dispatch: + push: + branches: + - master + pull_request: + +jobs: + test: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + build_type: [Debug, ReleaseSafe, ReleaseFast] + fail-fast: false + runs-on: ${{matrix.os}} + steps: + - uses: actions/checkout@v5 + - uses: mlugg/setup-zig@v2 + with: + version: 0.14.1 + - run: zig build -Doptimize=${{matrix.build_type}} test --summary all + + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: mlugg/setup-zig@v2 + with: + version: 0.14.1 + - run: zig fmt --check . From b2147f9844b012e08c44239395ca678d4f213d91 Mon Sep 17 00:00:00 2001 From: Emily Flion Date: Tue, 26 Aug 2025 16:48:30 +0200 Subject: [PATCH 2/2] Add dependabot config file Signed-off-by: Emily Flion --- .github/dependabot.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..aaf46ec --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,9 @@ +# Documentation: +# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/.github/workflows" + schedule: + interval: "weekly"