From 7b46ed5709d04e4d2ed66b5f20c0a788405b3fa0 Mon Sep 17 00:00:00 2001 From: eggplants Date: Fri, 16 Jan 2026 22:43:56 +0900 Subject: [PATCH 1/3] Update gems with dependabot --- .github/dependabot.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b18fd293..dd46ad58 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,19 @@ version: 2 updates: - - package-ecosystem: 'github-actions' - directory: '/' + - package-ecosystem: bundler + directory: / schedule: - interval: 'weekly' + interval: weekly + groups: + dependencies: + dependency-type: production + dev-dependencies: + dependency-type: development + cooldown: + default-days: 7 + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + cooldown: + default-days: 7 From 4999470b2e652d1875571dc6a19eb7f5ab4c4cf7 Mon Sep 17 00:00:00 2001 From: eggplants Date: Fri, 16 Jan 2026 22:44:51 +0900 Subject: [PATCH 2/3] Update GitHub Actions and pin with SHA --- .github/workflows/deploy.yml | 10 +++++----- .github/workflows/test.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e4669d47..61f3086a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,20 +20,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Setup Ruby - uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby@708024e6c902387ab41de36e1669e43b5ee7085e # v1.283.0 with: ruby-version: '4.0' bundler-cache: true - name: Setup Pages id: pages - uses: actions/configure-pages@v5 + uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Build with middleman # Outputs to the './_site' directory by default run: bundle exec middleman build - name: Upload artifact - uses: actions/upload-pages-artifact@v4 + uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0 deploy: environment: @@ -44,4 +44,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ce08394..2c5acafe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Setup Ruby - uses: ruby/setup-ruby@v1 + uses: ruby/setup-ruby@708024e6c902387ab41de36e1669e43b5ee7085e # v1.283.0 with: ruby-version: "4.0" bundler-cache: true From b766808d69f858a7527da1f5c5a2d75a53819720 Mon Sep 17 00:00:00 2001 From: eggplants Date: Fri, 16 Jan 2026 22:45:38 +0900 Subject: [PATCH 3/3] Update Docker image --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8ff93935..ee9c0122 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ -## Building image ## -FROM ruby:3.4.8-slim-trixie AS builder -# install build dependencies +FROM ruby:4.0.1-slim-trixie AS builder + RUN apt update && apt install make gcc g++ libffi-dev nodejs git -y COPY ./Gemfile /app/Gemfile COPY ./Gemfile.lock /app/Gemfile.lock