Debian Codegraph @

.github/workflows/ci.yaml

raw
1 ---
2 name: CI
3
4 # yamllint disable-line rule:truthy
5 on:
6 push:
7 branches: [main]
8
9 pull_request:
10
11 permissions:
12 contents: read
13
14 concurrency:
15 # yamllint disable-line rule:line-length
16 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
17 cancel-in-progress: true
18
19 jobs:
20 build:
21 runs-on: ubuntu-latest
22 strategy:
23 matrix:
24 python_version: ["3.10", "3.11", "3.12", "3.13"]
25 steps:
26 - uses: actions/checkout@v6
27 - uses: actions/setup-python@v6
28 with:
29 python-version: "${{ matrix.python_version }}"
30 cache: "pip"
31 - run: script/setup --dev
32 - run: script/lint
33 - run: script/test