Skip to content

Merge pull request #2 from ilia-kats/pre-commit-ci-update-config #101

Merge pull request #2 from ilia-kats/pre-commit-ci-update-config

Merge pull request #2 from ilia-kats/pre-commit-ci-update-config #101

Workflow file for this run

name: Check Build
on:
push:
branches: [master]
pull_request:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install g++12
run: |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 1000
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 1000
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
cache-dependency-path: "**/pyproject.toml"
- name: Install build dependencies
run: python -m pip install --upgrade pip wheel twine build
- name: Build package
run: python -m build
- name: Check package
run: twine check --strict dist/*.whl