Skip to content
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

Upgrade GitHub Actions #30

Merged
merged 2 commits into from
Feb 11, 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
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: |
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
django-version: Django==4.2

- python-version: "3.10"
django-version: Django==5.0rc1
django-version: Django==5.0

- python-version: "3.11"
django-version: Django==3.2
Expand All @@ -51,19 +51,19 @@ jobs:
django-version: Django==4.2

- python-version: "3.11"
django-version: Django==5.0rc1
django-version: Django==5.0

- python-version: "3.12"
django-version: Django==4.2

- python-version: "3.12"
django-version: Django==5.0rc1
django-version: Django==5.0

name: Run Python ${{ matrix.python-version }} tests
steps:
- uses: actions/checkout@v4
- name: Setup python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
Expand Down
12 changes: 6 additions & 6 deletions scripts/create_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@ def publish():
"""
TODO: This script needs fixed. You can run it, but you'll have to commit manually
and push the tag and commit.

Then you can run the following:

# Install requirements
python -m pip install build twine

# Build
python -m build

# Check build
twine check dist/*

# Test upload
twine upload -r testpypi dist/*

# Upload
twine upload dist/*
"""
Expand Down