diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 7d219d1..45bad3b 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -20,7 +20,7 @@ jobs: # The type of runner that the job will run on strategy: matrix: - python-versions: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python-versions: ['3.8', '3.9', '3.10', '3.11', '3.12'] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} @@ -28,7 +28,7 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: python-version: ${{ matrix.python-versions }} @@ -46,5 +46,4 @@ jobs: - uses: codecov/codecov-action@v3 with: - fail_ci_if_error: true files: coverage.xml diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 5a0ccc8..9a5358b 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -18,11 +18,11 @@ jobs: strategy: matrix: - python-versions: [ 3.8 ] + python-versions: [ 3.12 ] steps: - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: python-version: ${{ matrix.python-versions }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6060909..c6e3442 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,11 +17,11 @@ jobs: # This workflow contains a single job called "release" release: name: Create Release - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: - python-versions: [3.8] + python-versions: [3.12] # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -42,7 +42,7 @@ jobs: version: ${{ steps.tag_name.outputs.current_version }} path: ./CHANGELOG.md - - uses: actions/setup-python@v2 + - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: python-version: ${{ matrix.python-versions }} diff --git a/tox.ini b/tox.ini index 4351026..5b78434 100644 --- a/tox.ini +++ b/tox.ini @@ -1,15 +1,15 @@ [tox] isolated_build = true -envlist = py37, py38, py39, py310, py311, py312, format, lint, build +envlist = py38, py39, py310, py311, py312, format, lint, build [gh-actions] python = + 3.13: py313 3.12: py312 3.11: py311 3.10: py310 3.9: py39 3.8: py38, format, lint, build - 3.7: py37 [testenv] allowlist_externals = pytest