diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 6846cc9f..94d43cfe 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -29,14 +29,15 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up Poetry + run: | + pipx install poetry==${{ env.POETRY_VERSION }} + - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "${{ matrix.python-version }}" - - - name: Set up Poetry - run: | - pip install poetry==${{ env.POETRY_VERSION }} + cache: poetry - name: Install packages run: | diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index b3e9404b..d393d1ce 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -35,14 +35,15 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up Poetry + run: | + pipx install poetry==${{ env.POETRY_VERSION }} + - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - - name: Set up Poetry - run: | - pip install poetry==${{ env.POETRY_VERSION }} + cache: poetry - name: Install zsh run: | diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5ac8f9ad..2f61b77a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -41,14 +41,15 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up Poetry + run: | + pipx install poetry==${{ env.POETRY_VERSION }} + - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - - name: Set up Poetry - run: | - pip install poetry==${{ env.POETRY_VERSION }} + cache: poetry - name: Install packages run: |