mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-28 20:43:57 +03:00
22 lines
485 B
YAML
22 lines
485 B
YAML
|
name: 📦 Build
|
||
|
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
- name: Set up Python 3.10
|
||
|
uses: actions/setup-python@v5
|
||
|
with:
|
||
|
python-version: "3.10"
|
||
|
- name: Install dependencies
|
||
|
run: |
|
||
|
python -m pip install --upgrade pip
|
||
|
pip install build twine
|
||
|
- name: Building package
|
||
|
run: python3 -m build
|
||
|
- name: Check package with Twine
|
||
|
run: twine check dist/*
|