diff --git a/.github/workflows/bandit.yml b/.github/workflows/bandit.yml index 6f0a245..7027305 100644 --- a/.github/workflows/bandit.yml +++ b/.github/workflows/bandit.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run bandit uses: VCTLabs/bandit-report-artifacts@v2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04174d5..45f6f3f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,10 +23,10 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, macos-latest] - python-version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11'] + python-version: [3.8, 3.9, '3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -69,6 +69,7 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 + if: matrix.python-version == 3.9 && runner.os == 'Linux' with: name: wheels path: ./dist/*.whl diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 1eef508..9e54a9e 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout Project - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # We need to fetch with a depth of 2 for pull_request so we can do HEAD^2 fetch-depth: 2 @@ -157,11 +157,11 @@ jobs: - name: Setup old python for test uses: actions/setup-python@v5 with: - python-version: 3.7 + python-version: 3.8 - name: Generate coverage run: | - tox -e coverage,py37,py311 + tox -e coverage,py38,py311 - name: Code Coverage Summary Report (data) uses: irongut/CodeCoverageSummary@v1.3.0 @@ -313,7 +313,7 @@ jobs: markdown: ${{ steps.url.outputs.markdown }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: badges path: badges diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index a925f77..fb1936d 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -17,7 +17,7 @@ jobs: shell: bash steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.8 uses: actions/setup-python@v5 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e3db13..23e7117 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9, '3.10', '3.11'] + python-version: [3.8, 3.9, '3.10', '3.11'] steps: - name: Set git crlf/eol @@ -27,7 +27,7 @@ jobs: git config --global core.autocrlf false git config --global core.eol lf - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -47,9 +47,10 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 + if: matrix.python-version == 3.9 && runner.os == 'Linux' with: - name: wheels - path: ./dist/*.whl + name: packages + path: dist create_release: name: Create Release @@ -63,13 +64,17 @@ jobs: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV echo ${{ env.VERSION }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # download all artifacts to project dir - uses: actions/download-artifact@v4 + - name: check artifacts + run: | + ls -l packages/ + - name: Generate changes file uses: sarnold/gitchangelog-action@master with: @@ -87,4 +92,4 @@ jobs: draft: false prerelease: false files: | - wheels/redis*.whl + packages/redis*