-
Notifications
You must be signed in to change notification settings - Fork 28
52 lines (44 loc) · 1.21 KB
/
base-image-check.yml
File metadata and controls
52 lines (44 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
name: Base Image Validation
on:
push:
branches:
- 'main'
- 'release-*'
tags:
- 'v*'
pull_request:
branches:
- 'main'
- 'release-*'
paths:
- 'components/**'
- 'pipelines/**'
- 'scripts/validate_base_images/**'
- '.github/scripts/utils/**'
- '.github/workflows/base-image-check.yml'
- '.github/actions/setup-python-ci/**'
- 'pyproject.toml'
- 'uv.lock'
# Cancel in-progress runs when a new commit is pushed to the same PR
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
PYTHONPATH: ${{ github.workspace }}
jobs:
validate-base-images:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.11", "3.13"]
name: Validate Base Images (Python ${{ matrix.python-version }})
steps:
- name: Checkout Repository
uses: actions/checkout@v6
- name: Setup Python CI
uses: ./.github/actions/setup-python-ci
with:
python-version: ${{ matrix.python-version }}
- name: Run base image validation
run: uv run python -m scripts.validate_base_images.validate_base_images