Skip to content

Commit

Permalink
Update versions of Actions used in GitHub workflow
Browse files Browse the repository at this point in the history
The versions of multiple Actions used in the GitHub workflow have been upgraded.

Signed-off-by: Steven K <[email protected]>
  • Loading branch information
rh0dium committed Jan 27, 2024
1 parent ea938cd commit 56bd95c
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:
name: Canceling Outstanding Jobs
runs-on: ubuntu-latest
steps:
- uses: styfle/cancel-workflow-action@0.11.0
- uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}

outdated:
name: Outdated packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
Expand All @@ -37,8 +37,8 @@ jobs:
name: Black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
Expand All @@ -56,8 +56,8 @@ jobs:
name: Pre-Commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
Expand All @@ -76,8 +76,8 @@ jobs:
name: Bandit Security
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
Expand All @@ -96,7 +96,7 @@ jobs:

- name: "Upload Coverage Results"
if: ${{ success() || failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Bandit Security Report
path: report.json
Expand Down Expand Up @@ -132,9 +132,9 @@ jobs:
mysql --host 127.0.0.1 --port 3306 -uroot -ppassword -e "SHOW DATABASES" 2>&1 > /dev/null
mysql --host 127.0.0.1 --port 3306 -uroot -ppassword -V
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand All @@ -152,22 +152,22 @@ jobs:
DB_TYPE: ${{ matrix.db }}
run: export PYTHONPATH=`pwd` && coverage run
- name: "Upload Coverage Results for PY:${{ matrix.python-version }} DB:${{ matrix.db}} DJ:${{ matrix.django-version }}"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.python-version }}-${{ matrix.db}}-${{ matrix.django-version }}
path: .coverage
retention-days: 1

- name: Django Check
run: python demo/manage.py check
run: python demo_app/manage.py check

coverage:
name: Upload Coverage to Codecov
needs: [ tests ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"

Expand All @@ -176,7 +176,7 @@ jobs:
pip install .
pip install .[test]
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: .

Expand All @@ -203,10 +203,10 @@ jobs:
bump_version: ${{ steps.release.outputs.bump_version }}
bump_sha: ${{ steps.release.outputs.bump_sha }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
Expand Down

0 comments on commit 56bd95c

Please sign in to comment.