From a775fc656223dea241755bd174c2e158d714563b Mon Sep 17 00:00:00 2001 From: Robin Heggelund Hansen Date: Sun, 24 Nov 2024 22:22:45 +0100 Subject: [PATCH] Setup github action. --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..b2dee97 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Integration Tests + +on: + pull_request: + branches: [main] + push: + branches: [main] + +jobs: + validate-code-formatting: + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v4 + + - name: Install devbox + uses: jetify-com/devbox-install-action@v0.11.0 + with: + enable-cache: true + + - name: Run tests + run: devbox run test