Skip to content

chore: pin GitHub Actions to commit SHA (#150) #58

chore: pin GitHub Actions to commit SHA (#150)

chore: pin GitHub Actions to commit SHA (#150) #58

Workflow file for this run

name: ADK CI
on:
push:
paths:
- .github/workflows/adk.yaml
- adk/**
branches:
- main
pull_request:
paths:
- .github/workflows/adk.yaml
- adk/**
permissions:
contents: read
jobs:
check:
name: Format & Type Check
runs-on: ubuntu-latest
env:
UV_PYTHON: "3.13"
defaults:
run:
working-directory: adk
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.13"
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH # Make uv available
- name: Check format
run: uv run ruff format --check
- name: Check lint
run: uv run ruff check
- name: Check types
run: uv run pyright
build:
name: Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: adk
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Set up Docker Compose
uses: ./.github/actions/setup-compose
- name: Build Docker images
run: docker compose build