diff --git a/.github/actionlint.yml b/.github/actionlint.yml new file mode 100644 index 00000000..5c69e28f --- /dev/null +++ b/.github/actionlint.yml @@ -0,0 +1,6 @@ +# https://github.com/rhysd/actionlint/blob/main/docs/config.md + +self-hosted-runner: + labels: + - blacksmith-2vcpu-ubuntu-2404 + - blacksmith-4vcpu-ubuntu-2404 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9c30e19..af32466c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: # Run static checks only for Ubuntu and Python 3.9 static-checks: name: Static checks - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 timeout-minutes: 6 steps: - uses: actions/checkout@v4 @@ -53,7 +53,7 @@ jobs: - "3.12" - "3.13" os: - - ubuntu-latest + - blacksmith-2vcpu-ubuntu-2404 # There shouldn't be any behavior differences between OSes, # so we'll only run the test suite on Ubuntu for now. Also, # since I (the main maintainer) develop on a macOS machine, diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b3f89486..4830183a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -18,7 +18,7 @@ on: jobs: codeql-python: name: Analyze (Python) - runs-on: 'ubuntu-latest' + runs-on: 'blacksmith-2vcpu-ubuntu-2404' timeout-minutes: 5 permissions: # required for all workflows diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da27b753..230d4273 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ concurrency: jobs: build: name: Build distributions - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 timeout-minutes: 6 steps: - uses: actions/checkout@v4 @@ -53,7 +53,7 @@ jobs: if: github.ref == 'refs/heads/main' needs: - build - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 timeout-minutes: 2 environment: name: testpypi @@ -76,7 +76,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') needs: - build - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 timeout-minutes: 2 environment: name: pypi @@ -97,7 +97,7 @@ jobs: name: Publish a GitHub Release needs: - publish-to-pypi - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 timeout-minutes: 2 permissions: contents: write # IMPORTANT: mandatory for making GitHub Releases diff --git a/docs/reference/changelog.md b/docs/reference/changelog.md index 112a374b..f3f73793 100644 --- a/docs/reference/changelog.md +++ b/docs/reference/changelog.md @@ -5,7 +5,9 @@ This document outlines the list of changes to ridgeplot between each release. Fo Unreleased changes ------------------ -- ... +### CI/CD + +- Migrate GitHub workflows to Blacksmith runners ({gh-pr}`327`) ---