From 069b5d973f7c6835e757103ab51af6b4e3cf0c57 Mon Sep 17 00:00:00 2001 From: "blacksmith-sh[bot]" <157653362+blacksmith-sh[bot]@users.noreply.github.com> Date: Fri, 13 Sep 2024 00:39:31 +0300 Subject: [PATCH] Migrate workflows to Blacksmith (#436) Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com> --- .github/workflows/ci.yaml | 12 ++++++------ .github/workflows/codeql-analysis.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a85500d9..a4568b7b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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"] @@ -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 @@ -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"] @@ -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 @@ -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] @@ -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 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b9a40588..10b86093 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -21,7 +21,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-latest + runs-on: blacksmith-4vcpu-ubuntu-2204 permissions: actions: read contents: read