diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 12ccd49..7adfc7f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,7 +15,7 @@ name: CI jobs: lint: name: "Linting & Formatting (fix with: uv run ruff check --fix && uv run ruff format)" - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 5 steps: - uses: actions/checkout@v7 @@ -36,7 +36,7 @@ jobs: strategy: matrix: os: - - "ubuntu-latest" + - "ubuntu-24.04" python-version: - "3.10" - "3.11" @@ -56,7 +56,7 @@ jobs: run: uv run pytest -n0 smoke: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 5 steps: - uses: actions/checkout@v7 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 68fe03a..f9fc251 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,7 +13,7 @@ jobs: secrets: inherit check_version: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v7 - name: check tag version == pyproject.version @@ -26,7 +26,7 @@ jobs: if [[ "$TAG" != "v$PROJECT_VERSION" ]]; then exit 1; fi build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: - test - check_version @@ -52,7 +52,7 @@ jobs: name: Publish 🐍 distribution 📦 to PyPI needs: - build - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 environment: name: release-pypi url: https://pypi.org/p/dataproduct-cli @@ -71,7 +71,7 @@ jobs: name: Create a GitHub Release needs: - publish-to-pypi - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: write # mandatory for making GitHub Releases id-token: write # mandatory for sigstore