From 4c1b31a1f031c6a992868b1cc1b017626b549b88 Mon Sep 17 00:00:00 2001 From: James Harrison Date: Thu, 20 Mar 2025 09:35:33 +0000 Subject: [PATCH 1/2] ci: update to ubuntu-22.04 --- .github/workflows/pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1c5a8d4..9c6e73c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,7 +13,7 @@ env: jobs: lint: name: Lint Code - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Setup Python uses: actions/setup-python@v5 @@ -38,7 +38,7 @@ jobs: ALLURE_RESULTS: allure-results ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }} name: Test Code - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - id: app-token uses: actions/create-github-app-token@v1 From f3f55d0137a5596954b613e3c5c9eba0962a1ce3 Mon Sep 17 00:00:00 2001 From: James Harrison Date: Thu, 20 Mar 2025 09:39:23 +0000 Subject: [PATCH 2/2] ci: use poetry v1.8.5 --- .github/workflows/pr.yml | 4 ++-- .github/workflows/tag-and-release.yml | 2 +- .pre-commit-config.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9c6e73c..d182758 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -22,7 +22,7 @@ jobs: architecture: x64 - name: Install nox run: | - pipx install poetry + pipx install poetry==1.8.5 pipx install nox pipx inject nox nox-poetry - name: Checkout PR branch @@ -75,7 +75,7 @@ jobs: allure-project-id: 34 - name: Install nox run: | - pipx install poetry + pipx install poetry==1.8.5 pipx install nox pipx inject nox nox-poetry - name: Run tests diff --git a/.github/workflows/tag-and-release.yml b/.github/workflows/tag-and-release.yml index 777e1ae..8ad9a70 100644 --- a/.github/workflows/tag-and-release.yml +++ b/.github/workflows/tag-and-release.yml @@ -66,7 +66,7 @@ jobs: with: ref: ${{ env.GIT_TAG }} - name: Install poetry - run: pipx install poetry + run: pipx install poetry==1.8.5 - uses: actions/github-script@v7 env: CHANGES: ${{ needs.tag.outputs.changes }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7ada7e7..d5f51e4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -44,7 +44,7 @@ repos: - id: detect-secrets args: ['--exclude-files', '.*\.ipynb$', ] - repo: https://github.com/python-poetry/poetry - rev: '1.8.0' + rev: '1.8.5' hooks: - id: poetry-check stages: