Skip to content

Commit

Permalink
Migrate workflows to Blacksmith (#436)
Browse files Browse the repository at this point in the history
Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com>
  • Loading branch information
blacksmith-sh[bot] committed Sep 12, 2024
1 parent db7af5f commit 069b5d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:

#################### Unittests ####################
unittest:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2204
strategy:
matrix:
python-version: [3.8,3.9,"3.10","3.12"]
Expand All @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
id: python
uses: actions/setup-python@v4
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -23,7 +23,7 @@ jobs:
#################### Integration tests ####################
integration:
needs: [unittest]
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2204
strategy:
matrix:
python-version: [3.8,3.9,"3.10","3.12"]
Expand All @@ -34,7 +34,7 @@ jobs:
run: docker build -t rabbitmq:tls .
- name: Set up Python ${{ matrix.python-version }}
id: python
uses: actions/setup-python@v4
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -50,7 +50,7 @@ jobs:
#################### Linters and checkers ####################
lint:
needs: [unittest, integration]
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2204
strategy:
matrix:
python-version: [3.8]
Expand All @@ -59,7 +59,7 @@ jobs:
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
id: python
uses: actions/setup-python@v4
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
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

0 comments on commit 069b5d9

Please sign in to comment.