From b658c216a93d193cf2e99e6249006295a18151dc Mon Sep 17 00:00:00 2001 From: Matt Moretti Date: Thu, 15 Jan 2026 10:33:50 -0500 Subject: [PATCH 1/2] Bump ruby to 4.0.1 Bump setup-ruby action --- .github/workflows/tests.yml | 4 ++-- .ruby-version | 2 +- Gemfile.lock | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e01eaba0e..f064a2b65 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,7 +23,7 @@ jobs: persist-credentials: false - name: Set up Ruby - uses: ruby/setup-ruby@ae195bbe749a7cef685ac729197124a48305c1cb # v1.276.0 + uses: ruby/setup-ruby@708024e6c902387ab41de36e1669e43b5ee7085e # v1.283.0 with: bundler-cache: true @@ -52,7 +52,7 @@ jobs: persist-credentials: false - name: Set up Ruby - uses: ruby/setup-ruby@ae195bbe749a7cef685ac729197124a48305c1cb # v1.276.0 + uses: ruby/setup-ruby@708024e6c902387ab41de36e1669e43b5ee7085e # v1.283.0 with: bundler-cache: true diff --git a/.ruby-version b/.ruby-version index fcdb2e109..1454f6ed4 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -4.0.0 +4.0.1 diff --git a/Gemfile.lock b/Gemfile.lock index 80070fd07..653803027 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -446,7 +446,7 @@ DEPENDENCIES tapioca (>= 0.17) RUBY VERSION - ruby 4.0.0 + ruby 4.0.1 BUNDLED WITH 4.0.3 From 5cef2220cd5ea3d3adad29a0447e06864daa90c5 Mon Sep 17 00:00:00 2001 From: Matt Moretti Date: Tue, 30 Dec 2025 10:03:40 -0500 Subject: [PATCH 2/2] Remove publishing and deployment GH actions Closes #262 --- .github/workflows/tests.yml | 73 ------------------------------------- 1 file changed, 73 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f064a2b65..ab2f88012 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -92,76 +92,3 @@ jobs: brew install --build-from-source --formula libfaketime brew install --cask orka brew install --formula xz - - docker: - needs: [style, rspec] - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - name: Set up Git repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - with: - persist-credentials: false - - - name: Set RUBY_VERSION - run: echo RUBY_VERSION="$(cat .ruby-version)" >> "${GITHUB_ENV}" - - - uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0 - - - name: Login to GitHub Packages - uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 - with: - registry: ghcr.io - username: mikemcquaid - password: ${{ secrets.GITHUB_TOKEN }} - - # We don't give Dependabot access to tokens. - - if: github.actor != 'dependabot[bot]' - name: Login to Docker Hub - uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 - with: - username: mikemcquaid - password: ${{ secrets.DOCKER_TOKEN }} - - # Dependabot doesn't have access to push to the GHCR cache - - if: github.actor != 'dependabot[bot]' - name: Set up Docker cache - run: echo DOCKER_CACHE_TO="type=registry,ref=ghcr.io/mikemcquaid/strap:cache,mode=max" >> "${GITHUB_ENV}" - - - uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0 - with: - push: ${{ github.ref == 'refs/heads/main' }} - tags: | - mikemcquaid/strap:latest - mikemcquaid/strap:main - mikemcquaid/strap:master - ghcr.io/mikemcquaid/strap:latest - ghcr.io/mikemcquaid/strap:main - ghcr.io/mikemcquaid/strap:master - cache-from: type=registry,ref=ghcr.io/mikemcquaid/strap:cache - cache-to: ${{ env.DOCKER_CACHE_TO }} - provenance: mode=max - sbom: true - build-args: | - RUBY_VERSION=${{ env.RUBY_VERSION }} - - deployment: - if: github.event_name != 'pull_request' - needs: docker - runs-on: ubuntu-latest - timeout-minutes: 30 - environment: - name: production - url: https://strap.mikemcquaid.com - concurrency: - group: production - cancel-in-progress: false - steps: - - uses: digitalocean/action-doctl@135ac0aa0eed4437d547c6f12c364d3006b42824 # v2.5.1 - with: - token: ${{ secrets.DIGITAL_OCEAN_TOKEN }} - - - name: Deploy to DigitalOcean - run: doctl apps create-deployment --wait 5b95141a-ccca-4466-8c8c-501c015fff10