From c20bebddd153d4b6e13d3f7744142cc0dc45693d Mon Sep 17 00:00:00 2001 From: Ali Ebrahim Date: Wed, 15 Apr 2026 11:54:18 -0700 Subject: [PATCH] Update CI versions. This also includes a dependabot configuration to keep these up to date. --- .github/dependabot.yml | 6 ++++++ .github/workflows/ci.yml | 14 +++++++------- .github/workflows/code-quality.yml | 8 ++++---- .github/workflows/documentation.yml | 8 ++++---- .github/workflows/release.yml | 14 +++++++------- 5 files changed, 28 insertions(+), 22 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..6fff16c7 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: monthly diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47a23569..27247dc2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,13 +16,13 @@ jobs: name: Check running without dependencies runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - - name: Install uv with Python 3.12 + - name: Install uv with Python uses: astral-sh/setup-uv@v5 with: - version: "0.7.5" - python-version: "3.12" + version: "0.11.6" + python-version: "3.13" - name: Install betterproto2 working-directory: ./betterproto2 @@ -124,14 +124,14 @@ jobs: fail-fast: false matrix: os: [Ubuntu, MacOS, Windows] - python-version: ['3.10', '3.11', '3.12', '3.13'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install uv with Python ${{ matrix.python-version }} uses: astral-sh/setup-uv@v5 with: - version: "0.7.5" + version: "0.11.6" python-version: ${{ matrix.python-version }} - name: Install betterproto2 diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index e341b446..ae7d0983 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -16,14 +16,14 @@ jobs: name: Check code formatting and typechecking runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: pre-commit/action@v3.0.1 + - uses: actions/checkout@v6 + - uses: pre-commit/action@v3 - name: Install uv uses: astral-sh/setup-uv@v5 with: - version: "0.7.5" - python-version: "3.10" + version: "0.11.6" + python-version: "3.13" - name: Install betterproto2 working-directory: ./betterproto2 diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 0207288f..47f3c251 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -10,7 +10,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Configure Git Credentials run: | git config user.name github-actions[bot] @@ -19,8 +19,8 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v5 with: - version: "0.7.5" - python-version: "3.10" + version: "0.11.6" + python-version: "3.13" - name: Install betterproto2 working-directory: ./betterproto2 @@ -28,4 +28,4 @@ jobs: - name: Build and deploy documentation working-directory: ./betterproto2 - run: uv run mkdocs gh-deploy --force \ No newline at end of file + run: uv run mkdocs gh-deploy --force diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a518adf..c74078ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,13 +21,13 @@ jobs: url: https://pypi.org/p/betterproto2 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install uv uses: astral-sh/setup-uv@v5 with: - version: "0.7.5" - python-version: "3.10" + version: "0.11.6" + python-version: "3.13" - name: Build package working-directory: ./betterproto2 @@ -51,19 +51,19 @@ jobs: url: https://pypi.org/p/betterproto2_compiler steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install uv uses: astral-sh/setup-uv@v5 with: - version: "0.7.5" - python-version: "3.10" + version: "0.11.6" + python-version: "3.13" - name: Build package working-directory: ./betterproto2_compiler run: uv build - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1.12 + uses: pypa/gh-action-pypi-publish@release/v1 with: packages-dir: betterproto2_compiler/dist