Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thatmattlove committed Feb 17, 2024
1 parent 91df694 commit 3435d45
Show file tree
Hide file tree
Showing 5 changed files with 336 additions and 497 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@ name: Tests
on: [push, pull_request]

jobs:
tests:
name: CI Tests
strategy:
fail-fast: false
matrix:
poetry-version: [1.4.2]
python-version: ['3.8', '3.9', '3.10']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Git Checkout
uses: actions/checkout@v3
tests:
name: CI Tests
strategy:
fail-fast: false
matrix:
poetry-version: [1.7.1]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}

- name: Install Python Dependencies
run: poetry install
- name: Install Python Dependencies
run: poetry install

- name: Linting (Ruff)
run: poetry run ruff favicons
- name: Linting (Ruff)
run: poetry run ruff favicons

- name: Type Checking (MyPy)
run: poetry run mypy favicons
- name: Type Checking (MyPy)
run: poetry run mypy favicons
56 changes: 28 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
name: Release to PyPI
on:
release:
types: [published]
release:
types: [published]

jobs:
release:
name: Release to PyPI
strategy:
fail-fast: false
matrix:
python-version: [3.9]
poetry-version: [1.4.2]
os: [ubuntu-latest]
runs-on: ubuntu-latest
release:
name: Release to PyPI
strategy:
fail-fast: false
matrix:
python-version: [3.12]
poetry-version: [1.7.1]
os: [ubuntu-latest]
runs-on: ubuntu-latest

steps:
- name: Git Checkout
uses: actions/checkout@v3
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}

- name: Build favicons
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
poetry build
- name: Build favicons
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
poetry build
- name: Publish release
run: poetry publish
- name: Publish release
run: poetry publish
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ share/python-wheels/
.installed.cfg
*.egg
MANIFEST
*.whl

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
Loading

0 comments on commit 3435d45

Please sign in to comment.