Skip to content

Commit

Permalink
ci: Update GitHub Actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
trallnag committed Mar 10, 2024
1 parent f65045a commit 2f75a13
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,30 @@ on:
- cron: 4 4 * * 1

env:
poetry_version: "1.3.2"
poetry_version: "1.8.2"

jobs:
ci:
name: CI
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.7"]
python-version: ["3.12", "3.8"]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# ------------------------------------------------------------------------
# Python & Poetry.

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

- name: Cache Poetry installation
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.local/bin/poetry
Expand All @@ -51,7 +51,7 @@ jobs:
POETRY_VERSION: ${{ env.poetry_version }}

- name: Cache Poetry cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pypoetry
key: |-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

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

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,27 @@ on:
- cron: 4 4 * * 1

env:
poetry_version: "1.3.2"
python_version: "3.11"
poetry_version: "1.8.2"
python_version: "3.12"

jobs:
pre-commit:
name: Pre-commit
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# ------------------------------------------------------------------------
# Python & Poetry.

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ env.python_version }}

- name: Cache Poetry installation
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.local/bin/poetry
Expand All @@ -59,7 +59,7 @@ jobs:
POETRY_VERSION: ${{ env.poetry_version }}

- name: Cache Poetry cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pypoetry
key: |-
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ permissions:
contents: write

env:
poetry_version: "1.3.2"
python_version: "3.11"
poetry_version: "1.8.2"
python_version: "3.12"

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# ------------------------------------------------------------------------
# Python & Poetry.

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ env.python_version }}

- name: Cache Poetry installation
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.local/bin/poetry
Expand Down Expand Up @@ -76,6 +76,6 @@ jobs:
TOKEN: ${{ secrets.PYPI_TOKEN }}

- name: Draft GitHub release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
draft: true
10 changes: 5 additions & 5 deletions .github/workflows/testpypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ on:
default: ""

env:
poetry_version: "1.3.2"
python_version: "3.11"
poetry_version: "1.8.2"
python_version: "3.12"

jobs:
testpypi:
name: TestPyPI
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# ------------------------------------------------------------------------
# Python & Poetry.

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ env.python_version }}

- name: Cache Poetry installation
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.local/bin/poetry
Expand Down

0 comments on commit 2f75a13

Please sign in to comment.