diff --git a/.github/actions/setup-venv/action.yml b/.github/actions/setup-venv/action.yml index 2253ebe..11b64f3 100644 --- a/.github/actions/setup-venv/action.yml +++ b/.github/actions/setup-venv/action.yml @@ -12,7 +12,7 @@ runs: using: composite steps: - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} @@ -26,7 +26,7 @@ runs: # Get the exact Python version to use in the cache key. echo "PYTHON_VERSION=$(python --version)" >> $GITHUB_ENV - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: virtualenv-cache with: path: .venv diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e2ae9d8..ac6f6bb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ env: jobs: tests: - name: Python ${{ matrix.python }} - ${{ matrix.task.name }} + name: ${{ matrix.os }} - Python ${{ matrix.python }} - ${{ matrix.id }} runs-on: ${{ matrix.os }} timeout-minutes: 15 strategy: @@ -37,29 +37,24 @@ jobs: # os: [windows-latest, ubuntu-latest, macos-latest] # run: | # pytest -v --color=yes tests/ - - id: 1 task: name: Build run: hatch build - - id: 2 task: name: Pre-commit run: | pip install pre-commit pre-commit run --all-files - - id: 3 task: name: Lint run: ruff check . - - id: 4 task: name: Type check run: mypy . - - id: 5 task: name: Style