From da19eb1d9fae2bba9d3c9c4e4ac40512d8bdf7f9 Mon Sep 17 00:00:00 2001 From: Grant Date: Tue, 26 May 2026 16:59:01 +0900 Subject: [PATCH 1/3] add validation CI --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..ee8fbb8 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: Validate + +on: + push: + pull_request: + +jobs: + validate: + runs-on: [self-hosted, spot] + permissions: + contents: read + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.2' + - name: Build gem + run: gem build komoju-sdk.gemspec \ No newline at end of file From 7252e9cf3543e4e3421c87b2d7270a6d27d412c1 Mon Sep 17 00:00:00 2001 From: Grant Date: Wed, 3 Jun 2026 17:42:35 +0900 Subject: [PATCH 2/3] update validate workflow run conditions --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee8fbb8..0934839 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,9 @@ name: Validate on: push: + branches: [main] pull_request: + types: [opened, reopened, synchronize] jobs: validate: From df7b89c28a8f5f67fb1924bfb56e906c2a117fc8 Mon Sep 17 00:00:00 2001 From: Grant Date: Wed, 3 Jun 2026 18:06:02 +0900 Subject: [PATCH 3/3] update runner --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0934839..7a24506 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,14 +1,12 @@ name: Validate on: - push: - branches: [main] pull_request: types: [opened, reopened, synchronize] jobs: validate: - runs-on: [self-hosted, spot] + runs-on: ubuntu-latest permissions: contents: read steps: