diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d2fa8ef..65c70db 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,19 +25,21 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: 3.9.5 + python-version: '3.10' - name: Resolve poetry dependency - uses: abatilo/actions-poetry@v2.0.0 - with: - poetry-version: 1.1.4 + uses: Gr1N/setup-poetry@v8 + - name: Poetry version + run: poetry --version - name: Install project dependencies run: poetry install + - name: Configure git to use https:// instead of git:// + run: git config --global url."https://".insteadOf git:// - name: Lint run: poetry run pre-commit run -a