Switch to unified view

a b/.github/workflows/build.yaml
1
name: Build
2
3
on:
4
  push:
5
    branches: [main]
6
  pull_request:
7
    branches: [main]
8
9
concurrency:
10
  group: ${{ github.workflow }}-${{ github.ref }}
11
  cancel-in-progress: true
12
13
jobs:
14
  package:
15
    runs-on: ubuntu-latest
16
    steps:
17
      - uses: actions/checkout@v4
18
      - name: Set up Python 3.9
19
        uses: actions/setup-python@v5
20
        with:
21
          python-version: "3.9"
22
          cache: "pip"
23
          cache-dependency-path: "**/pyproject.toml"
24
      - name: Install build dependencies
25
        run: python -m pip install --upgrade pip wheel twine build
26
      - name: Build package
27
        run: python -m build
28
      - name: Check package
29
        run: twine check --strict dist/*.whl