Skip to content

Commit

Permalink
try and patch up CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Dec 7, 2024
1 parent 607f578 commit 7b918af
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "poetry"
- name: Install dependencies
env:
DEBIAN_FRONTEND: noninteractive
Expand Down Expand Up @@ -63,7 +62,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "poetry"
- name: Install dependencies
env:
DEBIAN_FRONTEND: noninteractive
Expand All @@ -87,22 +85,19 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
cache-dependency-path: setup.py
- name: Install dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: |
pip install -U pip setuptools wheel
pip install -U pip poetry
sudo apt-get install -y -qq libicu-dev
pip install -q -e ".[dev]"
pip freeze
poetry install --with dev
- name: Run mypy strict type check
run: |
make typecheck
- name: Build a distribution
run: |
python setup.py sdist bdist_wheel
poetry build
- name: Publish a Python distribution to PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 7b918af

Please sign in to comment.