Skip to content

Commit

Permalink
Migrate workflows to Blacksmith
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksmith-sh[bot] authored Sep 12, 2024
1 parent abf01f0 commit ee82363
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2204
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2204
env:
POETRY_VIRTUALENVS_CREATE: "false"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:

jobs:
build-worker:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2204
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Install apt packages
Expand All @@ -46,7 +46,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand All @@ -70,7 +70,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Install apt packages
Expand All @@ -79,7 +79,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand All @@ -103,7 +103,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Install apt packages
Expand All @@ -112,7 +112,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand All @@ -136,7 +136,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Install apt packages
Expand All @@ -145,7 +145,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand All @@ -169,7 +169,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Install apt packages
Expand All @@ -178,7 +178,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Install apt packages
Expand All @@ -217,7 +217,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand All @@ -241,7 +241,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Install apt packages
Expand All @@ -250,7 +250,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand All @@ -274,7 +274,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Install apt packages
Expand All @@ -283,7 +283,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand All @@ -307,7 +307,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Install apt packages
Expand All @@ -316,7 +316,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [pull_request]
jobs:
check:
name: ${{ matrix.check }} check
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2204
strategy:
matrix:
check: [lint, mypy]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/parallel-support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Fetch Docker Images
Expand All @@ -52,7 +52,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand All @@ -79,7 +79,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Fetch Docker Images
Expand All @@ -94,7 +94,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Fetch Docker Images
Expand All @@ -52,7 +52,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Fetch Docker Images
Expand All @@ -104,7 +104,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-latest"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
- name: Fetch Docker Images
Expand All @@ -149,7 +149,7 @@ jobs:
sudo apt update
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: Semgrep
jobs:
semgrep:
name: Scan
runs-on: ubuntu-20.04
runs-on: blacksmith-4vcpu-ubuntu-2204
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
container:
Expand Down

0 comments on commit ee82363

Please sign in to comment.