From 73396d3b3274cbbad37549898104f7feceb00118 Mon Sep 17 00:00:00 2001 From: "blacksmith-sh[bot]" <157653362+blacksmith-sh[bot]@users.noreply.github.com> Date: Thu, 12 Sep 2024 21:26:48 +0000 Subject: [PATCH] Migrate workflows to Blacksmith --- .github/workflows/ci.yaml | 12 ++++++------ .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/semgrep.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8692461a1..c4d4e3065 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,7 @@ on: [pull_request, push] jobs: #################### Unittests #################### unittest: - runs-on: ubuntu-latest + runs-on: blacksmith-4vcpu-ubuntu-2204 strategy: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} id: python - uses: actions/setup-python@v5 + uses: useblacksmith/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -24,7 +24,7 @@ jobs: #################### Integration tests #################### integration: needs: [unittest] - runs-on: ubuntu-latest + runs-on: blacksmith-4vcpu-ubuntu-2204 continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: false @@ -41,7 +41,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} id: python - uses: actions/setup-python@v5 + uses: useblacksmith/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -60,7 +60,7 @@ jobs: #################### Linters and checkers #################### lint: needs: [unittest, integration] - runs-on: ubuntu-latest + runs-on: blacksmith-4vcpu-ubuntu-2204 strategy: matrix: python-version: ["3.10"] @@ -71,7 +71,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} id: python - uses: actions/setup-python@v5 + 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 11d37e28d..a19a2a5d4 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 diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index bcd300a79..3141455d3 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -13,7 +13,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: