Skip to content

Commit cae5ad5

Browse files
blacksmith-sh[bot]jnsdlscodesmith-bot
authored
ci: migrate workflows to Blacksmith runners (#15)
This PR has been automatically generated by a team member in your GitHub organization using Blacksmith's [Migration Wizard](https://docs.blacksmith.sh/introduction/quickstart). This PR changes the following: 1. Your selected workflows will now run on Blacksmith's 2x faster hardware (e.g., `runs-on: blacksmith-4vcpu-ubuntu-2204`). Learn more about the [different instances available to choose from](https://docs.blacksmith.sh/blacksmith-runners/overview#runner-tags). 2. Your jobs running on Blacksmith will now have all official GitHub and popular third-party cache actions automatically interact with our 4x faster, colocated cache. Learn more about [Blacksmith's actions cache](https://docs.blacksmith.sh/blacksmith-caching/dependencies-actions). 3. Your GitHub Actions will now actually be observable. Learn more about Blacksmith's [logging](https://docs.blacksmith.sh/blacksmith-observability/logs) and other [observability](https://docs.blacksmith.sh/blacksmith-observability/dashboard) features. 4. Your selected checkout steps now use Blacksmith's cached checkout action. Learn more about [Git checkout caching](https://docs.blacksmith.sh/blacksmith-caching/git-checkout-caching). <!-- codesmith:footer --> --- <a href="https://app.blacksmith.sh/agent-labs-dev/codesmith/zero-python/pr/15?autoLogin=true&ref=codesmith_pr_footer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-light-v3.svg"><img alt="View with [code]smith" src="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3.svg"></picture></a> <a href="https://backend.blacksmith.sh/track/enable-autofix?expires=1794676175&installation_model_id=434381&pr_number=15&ref=codesmith_pr_footer&repository=agent-labs-dev%2Fzero-python&return_to=https%3A%2F%2Fgithub.com%2Fagent-labs-dev%2Fzero-python%2Fpull%2F15&signature=cca9a49bb35eb7be41e514a5a4dce813fbe0b7eea01889e3f5311ac6a8b68be3"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-light.svg"><img alt="Autofix with [code]smith" src="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"></picture></a> <sup>Need help on this PR? Tag <code>@codesmith-bot</code> with what you need.</sup> <!-- codesmith:autofix:disabled --> <!-- /codesmith:footer --> --------- Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com> Co-authored-by: jnsdls <jonas.daniels@outlook.com> Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
1 parent 1d8a0d9 commit cae5ad5

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defaults:
1010
shell: bash
1111
jobs:
1212
check:
13-
runs-on: ubuntu-latest
13+
runs-on: blacksmith-4vcpu-ubuntu-2404
1414
services:
1515
postgres:
1616
image: postgres:17
@@ -22,7 +22,7 @@ jobs:
2222
env:
2323
ZERO_SERVER_PG: postgresql://postgres:postgres@localhost:5432
2424
steps:
25-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
25+
- uses: useblacksmith/checkout@25227e61ff9dafe400e22fa487b673eac4e4409a # v1
2626
with:
2727
persist-credentials: false
2828
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
@@ -43,9 +43,9 @@ jobs:
4343
# An unmodified Zero client syncing through zero-cache, once with the TypeScript reference app server
4444
# and once with the Python one. Fails on any difference in what the client ends up with.
4545
e2e:
46-
runs-on: ubuntu-latest
46+
runs-on: blacksmith-4vcpu-ubuntu-2404
4747
steps:
48-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
48+
- uses: useblacksmith/checkout@25227e61ff9dafe400e22fa487b673eac4e4409a # v1
4949
with:
5050
persist-credentials: false
5151
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ defaults:
1313
shell: bash
1414
jobs:
1515
build:
16-
runs-on: ubuntu-latest
16+
runs-on: blacksmith-4vcpu-ubuntu-2404
1717
permissions:
1818
contents: read
1919
steps:
20-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
20+
- uses: useblacksmith/checkout@25227e61ff9dafe400e22fa487b673eac4e4409a # v1
2121
with:
2222
fetch-depth: 0
2323
persist-credentials: false
@@ -42,7 +42,7 @@ jobs:
4242
pypi:
4343
needs: build
4444
if: github.event_name == 'push'
45-
runs-on: ubuntu-latest
45+
runs-on: blacksmith-4vcpu-ubuntu-2404
4646
environment: pypi
4747
permissions:
4848
id-token: write

0 commit comments

Comments
 (0)