From 5196b79480f21f9d29b02851278ddd6d8941fcf6 Mon Sep 17 00:00:00 2001 From: wavy-cat <52543076+wavy-cat@users.noreply.github.com> Date: Sat, 9 Mar 2024 19:15:03 +0500 Subject: [PATCH] Update workflows --- .github/workflows/lint.yml | 2 +- .github/workflows/publish.yml | 14 +++++--------- wavy_totem_lib/aio.py | 1 - 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0f936e5..d637706 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.11" - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: cache with: path: ${{ env.pythonLocation }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 254257c..5c957b8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,26 +8,22 @@ on: jobs: regular: runs-on: ubuntu-latest - strategy: - matrix: - python-version: [3.8] permissions: id-token: write steps: - - name: Checkout code uses: actions/checkout@v4 with: fetch-tags: true + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: Install poetry run: pipx install poetry - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Update package version run: | release_version=${{ github.event.release.tag_name }} diff --git a/wavy_totem_lib/aio.py b/wavy_totem_lib/aio.py index 1773326..a9f8713 100644 --- a/wavy_totem_lib/aio.py +++ b/wavy_totem_lib/aio.py @@ -15,7 +15,6 @@ from .styles.abstract import AbstractStyle from .styles.wavy import WavyStyle from .sync import TotemBuilder -from string import ascii_lowercase class AsyncTotemBuilder(TotemBuilder):