From bdc7b99df0bb85cd9424bbe251d7ee07d95ac396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20H=C3=B6ltje?= Date: Thu, 23 May 2024 13:28:54 -0400 Subject: [PATCH] add github actions --- .github/workflows/ci.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..16687e3 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,30 @@ +# GitHub Action to run all my CI tasks. +name: Continuous Integration + +on: + pull_request: + branches: [main] + push: {} + workflow_dispatch: {} + +permissions: read-all + +jobs: + my_test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Bats and bats libs + uses: bats-core/bats-action@2.0.0 + with: + detik-install: false + support-install: false + assert-install: false + file-install: false + - name: Bootstrap Check + run: ./script/bootstrap + - name: Lint Check + run: ./script/lint + - name: Tests + run: ./script/test