-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (35 loc) · 954 Bytes
/
Copy pathci.yml
File metadata and controls
43 lines (35 loc) · 954 Bytes
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
name: CI
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.14"]
steps:
- name: Check out repository
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
with:
version: "0.12.5"
python-version: ${{ matrix.python-version }}
enable-cache: true
cache-dependency-glob: uv.lock
- name: Verify lock file and install dependencies
run: uv sync --locked --all-groups
- name: Run checks
run: ./mega-proxy check