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
11 changes: 7 additions & 4 deletions .github/workflows/python-examples-adk-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
branches: [main]
workflow_dispatch:

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -14,10 +17,10 @@ jobs:
working-directory: python/examples/adk-demo
steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5

- name: Install uv
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
Expand All @@ -29,7 +32,7 @@ jobs:
run: uv sync --group lint

- name: Lint
run: uvx ruff check --output-format=github .
run: uv run --frozen --group lint ruff check --output-format=github .

- name: Format
run: uvx ruff format --check .
run: uv run --frozen --group lint ruff format --check .
11 changes: 7 additions & 4 deletions .github/workflows/python-x402-a2a.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
branches: [main]
workflow_dispatch:

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -14,10 +17,10 @@ jobs:
working-directory: python/x402_a2a
steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5

- name: Install uv
uses: astral-sh/setup-uv@v6
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
Expand All @@ -29,7 +32,7 @@ jobs:
run: uv sync --group lint

- name: Lint
run: uvx ruff check --output-format=github .
run: uv run --frozen --group lint ruff check --output-format=github .

- name: Format
run: uvx ruff format --check .
run: uv run --frozen --group lint ruff format --check .
Loading