From 6ff283ad436485de69cf287ef34c19a04a2de43f Mon Sep 17 00:00:00 2001 From: purificant Date: Wed, 20 Dec 2023 01:28:03 +0000 Subject: [PATCH] bump actions, python and poetry installation method --- .github/workflows/codescan.yaml | 2 +- .github/workflows/release_pypi.yaml | 6 +++--- Makefile | 5 ++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codescan.yaml b/.github/workflows/codescan.yaml index fe22b57..a3a2be2 100644 --- a/.github/workflows/codescan.yaml +++ b/.github/workflows/codescan.yaml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/release_pypi.yaml b/.github/workflows/release_pypi.yaml index 4077b65..94df166 100644 --- a/.github/workflows/release_pypi.yaml +++ b/.github/workflows/release_pypi.yaml @@ -8,12 +8,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: 3.12 - name: Install poetry run: make get-poetry diff --git a/Makefile b/Makefile index 22f190d..192d072 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # python version used to bootstrap local development environment -PYTHON_VERSION=3.11.2 +PYTHON_VERSION=3.12.1 PROJECT_NAME=python-paseto # create virtual environment using pyenv @@ -79,5 +79,4 @@ check-spelling: # install poetry using recommended way get-poetry: - curl -sSL https://install.python-poetry.org | python3 - - + pipx install poetry