Skip to content

Commit

Permalink
ci: use variable to assert Poetry latest version (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal authored Jan 12, 2024
1 parent 8fdedeb commit a1a7e02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Poetry version should be correct
shell: bash
run: test "$(poetry --version)" == 'Poetry (version 1.6.1)'
run: test "$(poetry --version)" == 'Poetry (version ${{ vars.POETRY_LATEST_VERSION }})'

- name: Setup Poetry with a specific version
uses: ./
Expand All @@ -48,4 +48,4 @@ jobs:

- name: Poetry version should be correct
shell: bash
run: test "$(poetry --version)" == 'Poetry (version 1.6.1)'
run: test "$(poetry --version)" == 'Poetry (version ${{ vars.POETRY_LATEST_VERSION }})'

0 comments on commit a1a7e02

Please # to comment.