From aaef97a1ab18bdeae1b1ce7459025756abc94338 Mon Sep 17 00:00:00 2001 From: Okinea Dev Date: Sat, 3 Jan 2026 16:12:45 +0100 Subject: [PATCH] ci: use slim Ubuntu runners (#256) It will be more environmentally friendly and cheaper (at least for GitHub, because it's a public project and GitHub pays for it, not you) GitHub blog post about new 1 vCPU runners: https://github.blog/changelog/2025-10-28-1-vcpu-linux-runner-now-available-in-github-actions-in-public-preview Pricing (tl;dr: $0.002/min): https://docs.github.com/en/billing/reference/actions-runner-pricing GitHub-hosted runners reference: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#standard-github-hosted-runners-for--private-repositories --- .github/workflows/ci.yml | 2 +- .github/workflows/deploy.yml | 2 +- .github/workflows/pr-title.yml | 2 +- .github/workflows/release.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1669e6..4c2f67d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ permissions: jobs: ci: - runs-on: ubuntu-latest + runs-on: ubuntu-slim timeout-minutes: 10 steps: - name: Checkout diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1740cb9..ed735f4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,7 +19,7 @@ permissions: {} jobs: deploy: name: Deploy Docs - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - name: Checkout uses: actions/checkout@v5 diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml index 5b73e5a..2fceaaa 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title.yml @@ -14,7 +14,7 @@ concurrency: jobs: lint-pr-title: name: Lint PR title - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: ${{ (github.event.action == 'opened' || github.event.changes.title != null) && github.actor != 'renovate[bot]' }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 92cb8a9..12ee92a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ concurrency: jobs: release: name: Release - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: id-token: write