Skip to content

action version bumps and cleanup #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
8 changes: 4 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/[email protected]
Expand Down Expand Up @@ -313,7 +313,7 @@ jobs:
markdown: ${{ steps.url.outputs.markdown }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: badges
path: badges
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ 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
run: |
git config --global core.autocrlf false
git config --global core.eol lf

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -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
Expand All @@ -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:
Expand All @@ -87,4 +92,4 @@ jobs:
draft: false
prerelease: false
files: |
wheels/redis*.whl
packages/redis*
Loading