diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1c5a8d4..d182758 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 @@ -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 @@ -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 @@ -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: