commit 4c89895458142d5711dac7b555f4bef0c31a6720 from: Christian Clauss via: GitHub date: Mon Jan 30 08:46:10 2023 UTC Upgrade GitHub Actions commit - 032233f88913470651b64fc6bfdec7c6630d5ceb commit + 4c89895458142d5711dac7b555f4bef0c31a6720 blob - a3edd9f5fce0bb37afa8a474925239e96b2485a3 blob + e085494cbf7d5bd3f47e5139844399b1efedffd9 --- .github/workflows/pythontest.yml +++ .github/workflows/pythontest.yml @@ -17,9 +17,9 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install native dependencies (Ubuntu) @@ -31,17 +31,17 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -U ".[fastimport,paramiko,https]" + pip install --upgrade ".[fastimport,paramiko,https]" - name: Install gpg on supported platforms - run: pip install -U ".[pgp]" + run: pip install --upgrade ".[pgp]" if: "matrix.os != 'windows-latest' && matrix.python-version != 'pypy3'" - name: Style checks run: | - pip install -U flake8 + pip install --upgrade flake8 python -m flake8 - name: Typing checks run: | - pip install -U mypy types-paramiko types-requests + pip install --upgrade mypy types-paramiko types-requests python -m mypy dulwich if: "matrix.python-version != 'pypy3'" - name: Build @@ -49,5 +49,5 @@ jobs: python setup.py build_ext -i - name: Coverage test suite run run: | - pip install -U coverage + pip install --upgrade coverage python -m coverage run -p -m unittest dulwich.tests.test_suite