diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 090eeda7..7c996a78 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/deploy.yml b/.github/workflows/deploy.yml index f567748e..bd2f3ed5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,7 +6,7 @@ on: jobs: deploy: - runs-on: ubuntu-latest + runs-on: blacksmith-4vcpu-ubuntu-2204 env: POETRY_VIRTUALENVS_CREATE: "false" steps: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index aa907872..83b623a4 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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 diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 568957cb..f9a52194 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -37,16 +37,15 @@ jobs: fail-fast: false matrix: python-version: ["3.12"] - os: ["ubuntu-latest"] + os: ["blacksmith-4vcpu-ubuntu-2204"] steps: - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' @@ -70,16 +69,15 @@ jobs: fail-fast: false matrix: python-version: ["3.12"] - os: ["ubuntu-latest"] + os: ["blacksmith-4vcpu-ubuntu-2204"] steps: - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' @@ -103,16 +101,15 @@ jobs: fail-fast: false matrix: python-version: ["3.12"] - os: ["ubuntu-latest"] + os: ["blacksmith-4vcpu-ubuntu-2204"] steps: - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' @@ -136,16 +133,15 @@ jobs: fail-fast: false matrix: python-version: ["3.12"] - os: ["ubuntu-latest"] + os: ["blacksmith-4vcpu-ubuntu-2204"] steps: - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' @@ -169,16 +165,15 @@ jobs: fail-fast: false matrix: python-version: ["3.12"] - os: ["ubuntu-latest"] + os: ["blacksmith-4vcpu-ubuntu-2204"] steps: - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' @@ -208,16 +203,15 @@ jobs: fail-fast: false matrix: python-version: ["3.12"] - os: ["ubuntu-latest"] + os: ["blacksmith-4vcpu-ubuntu-2204"] steps: - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' @@ -241,16 +235,15 @@ jobs: fail-fast: false matrix: python-version: ["3.12"] - os: ["ubuntu-latest"] + os: ["blacksmith-4vcpu-ubuntu-2204"] steps: - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' @@ -274,16 +267,15 @@ jobs: fail-fast: false matrix: python-version: ["3.12"] - os: ["ubuntu-latest"] + os: ["blacksmith-4vcpu-ubuntu-2204"] steps: - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' @@ -307,16 +299,15 @@ jobs: fail-fast: false matrix: python-version: ["3.12"] - os: ["ubuntu-latest"] + os: ["blacksmith-4vcpu-ubuntu-2204"] steps: - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 973ff949..174a460d 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -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] diff --git a/.github/workflows/parallel-support.yml b/.github/workflows/parallel-support.yml index c47f417e..b72db6cd 100644 --- a/.github/workflows/parallel-support.yml +++ b/.github/workflows/parallel-support.yml @@ -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 @@ -47,19 +47,17 @@ jobs: docker pull memcached:latest - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' cache-dependency-path: '**/setup.py' - name: Install Poetry - if: startsWith(matrix.os, 'ubuntu-') uses: snok/install-poetry@v1.4.1 - name: Install tox @@ -79,7 +77,7 @@ jobs: fail-fast: false matrix: python-version: ["3.12"] - os: ["ubuntu-latest"] + os: ["blacksmith-4vcpu-ubuntu-2204"] steps: - name: Fetch Docker Images @@ -89,19 +87,17 @@ jobs: docker pull memcached:latest - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' cache-dependency-path: '**/setup.py' - name: Install Poetry - if: startsWith(matrix.os, 'ubuntu-') uses: snok/install-poetry@v1.4.1 - name: Install tox diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 3cfad172..1e3dedea 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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 @@ -47,19 +47,17 @@ jobs: docker pull memcached:latest - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' cache-dependency-path: '**/setup.py' - name: Install Poetry - if: startsWith(matrix.os, 'ubuntu-') uses: snok/install-poetry@v1.4.1 - name: Install tox @@ -89,7 +87,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 @@ -99,19 +97,17 @@ jobs: docker pull memcached:latest - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' cache-dependency-path: '**/setup.py' - name: Install Poetry - if: startsWith(matrix.os, 'ubuntu-') uses: snok/install-poetry@v1.4.1 - name: Install tox @@ -134,7 +130,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 @@ -144,19 +140,17 @@ jobs: docker pull memcached:latest - name: Install apt packages - if: startsWith(matrix.os, 'ubuntu-') run: | 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' cache-dependency-path: '**/setup.py' - name: Install Poetry - if: startsWith(matrix.os, 'ubuntu-') uses: snok/install-poetry@v1.4.1 - name: Install tox diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index f84b27b9..1b5d285b 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -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: