Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: monthly
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -19,13 +19,13 @@ 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
run: uv sync --locked --all-extras --all-groups

- name: Build and deploy documentation
working-directory: ./betterproto2
run: uv run mkdocs gh-deploy --force
run: uv run mkdocs gh-deploy --force
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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