From c7ddefffc197fec7ac5f40563d9e8666022e563b Mon Sep 17 00:00:00 2001 From: Tom de Bruijn Date: Wed, 4 Mar 2026 16:12:35 +0100 Subject: [PATCH] Move repo to GitHub Actions We've moved away from Semaphore for most repositories. Let's move this one as well. It's browning it out old images we rely on. --- .github/workflows/validate.yml | 26 ++++++++++++++++++++++++++ .semaphore/semaphore.yml | 22 ---------------------- 2 files changed, 26 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/validate.yml delete mode 100644 .semaphore/semaphore.yml diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 0000000..bf4fe95 --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,26 @@ +name: Public config validation + +on: + push: + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }} + +jobs: + validate: + name: Validate + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.3" + + - name: Validate + run: rake validate diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml deleted file mode 100644 index ed3f3bc..0000000 --- a/.semaphore/semaphore.yml +++ /dev/null @@ -1,22 +0,0 @@ -version: v1.0 -name: Public config validation - -agent: - machine: - type: e1-standard-2 - os_image: ubuntu2004 - -# Cancel all running and queued workflows before this one -auto_cancel: - running: - # Ignore main AND develop branch as we want it to build all workflows - when: "branch != 'main' AND branch != 'develop'" - -blocks: - - name: Validate - task: - jobs: - - name: Validate - commands: - - checkout - - rake validate