Skip to content

Commit

Permalink
Update gh action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
seandstewart committed Feb 27, 2024
1 parent ce83e1c commit bc1bb97
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 23 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/lint.yml
Expand Up @@ -10,26 +10,26 @@ jobs:
matrix:
os: [ubuntu-latest]
python-version: ["3.10"]
poetry-version: ["1.2.2"]
poetry-version: ["1.7.1"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

- name: Display Python version
run: python -c "import sys; print(f'Python {sys.version} on {sys.platform}')"

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

- name: Cache Poetry virtualenv
uses: actions/cache@v1
uses: actions/cache@v4
id: cache
with:
path: ./.venv
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/pythonpublish.yml
Expand Up @@ -11,16 +11,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
poetry-version: [ "1.2.2" ]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
poetry-version: [ "1.7.1" ]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python-${{ matrix.python-version }} (Platform ${{ matrix.os }})
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry (Platform ${{ matrix.os }})
uses: abatilo/actions-poetry@v2.1.4
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Build ${{ matrix.os }} binaries
Expand All @@ -34,13 +34,13 @@ jobs:
build-sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Poetry
uses: abatilo/actions-poetry@v2.1.4
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Build sdist
Expand All @@ -55,9 +55,9 @@ jobs:
runs-on: ubuntu-latest
needs: [build-wheels, build-sdist]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Download distribution artifact
Expand All @@ -66,7 +66,7 @@ jobs:
name: typical-dist
path: dist
- name: Install Poetry
uses: abatilo/actions-poetry@v2.1.4
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Publish to PyPI
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tag-release.yml
Expand Up @@ -24,14 +24,14 @@ jobs:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.9" ]
poetry-version: [ "1.2.2" ]
poetry-version: [ "1.7.1" ]
bumpver-version: [ "2022.1119" ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/tests.yml
Expand Up @@ -17,22 +17,23 @@ jobs:
PYTHON: ${{ matrix.python-version }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

- name: Display Python version
run: python -c "import sys; print(f'Python {sys.version} on {sys.platform}')"

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

- name: Cache Poetry virtualenv
uses: actions/cache@v1
uses: actions/cache@v4
id: cache
with:
path: ./.venv
Expand Down

0 comments on commit bc1bb97

Please sign in to comment.