-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from ppfeufer/development
[RELEASE] v2.17.0
- Loading branch information
Showing
10 changed files
with
131 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,10 +23,12 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@main | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Run Pre Commit Checks | ||
uses: pre-commit/[email protected] | ||
|
@@ -40,11 +42,11 @@ jobs: | |
steps: | ||
# Checkout the repository to the GitHub Actions runner | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@main | ||
|
||
# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis | ||
- name: Run Codacy Analysis CLI | ||
uses: codacy/codacy-analysis-cli-action@1.1.0 | ||
uses: codacy/codacy-analysis-cli-action@master | ||
with: | ||
# Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository | ||
# You can also omit the token and run the tools that support default configurations | ||
|
@@ -60,7 +62,7 @@ jobs: | |
|
||
# Upload the SARIF file generated in the previous step | ||
- name: Upload SARIF results file | ||
uses: github/codeql-action/upload-sarif@v2 | ||
uses: github/codeql-action/upload-sarif@main | ||
with: | ||
sarif_file: results.sarif | ||
|
||
|
@@ -78,7 +80,7 @@ jobs: | |
- '3.8' | ||
- '3.9' | ||
- '3.10' | ||
- '3.11-dev' | ||
- '3.11' | ||
# Don't forget to change the Django version for [upload-coverage] as well | ||
django-version: | ||
- '4.0' | ||
|
@@ -94,7 +96,7 @@ jobs: | |
- mariadb:10.8 | ||
- mariadb:10.9 | ||
|
||
continue-on-error: ${{ matrix.python-version == '3.11-dev' }} | ||
# continue-on-error: ${{ matrix.python-version == '3.11-dev' }} | ||
|
||
services: | ||
database: | ||
|
@@ -108,7 +110,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@main | ||
|
||
- name: Install redis | ||
run: sudo apt-get install -y redis-tools redis-server | ||
|
@@ -117,7 +119,7 @@ jobs: | |
run: redis-cli ping | ||
|
||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
|
@@ -138,7 +140,7 @@ jobs: | |
|
||
- name: Upload Coverage Artifacts | ||
if: ${{ github.event_name == 'pull_request' && matrix.python-version == '3.10' && matrix.django-version == '4.0' }} | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: coverage-${{ github.event_name }}-${{ github.sha }} | ||
path: coverage.xml | ||
|
@@ -157,7 +159,7 @@ jobs: | |
# - '3.8' | ||
# - '3.9' | ||
# - '3.10' | ||
# - '3.11-dev' | ||
# - '3.11' | ||
# # Django versions | ||
# django-version: | ||
# - '4.0' | ||
|
@@ -173,7 +175,7 @@ jobs: | |
# - mariadb:10.8 | ||
# - mariadb:10.9 | ||
# | ||
# continue-on-error: ${{ matrix.python-version == '3.11-dev' }} | ||
# continue-on-error: ${{ matrix.python-version == '3.11' }} | ||
# | ||
# services: | ||
# database: | ||
|
@@ -187,7 +189,7 @@ jobs: | |
# | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v2 | ||
# uses: actions/checkout@main | ||
# | ||
# - name: Install redis | ||
# run: sudo apt-get install -y redis-tools redis-server | ||
|
@@ -196,7 +198,7 @@ jobs: | |
# run: redis-cli ping | ||
# | ||
# - name: Setup Python ${{ matrix.python-version }} | ||
# uses: actions/setup-python@v2 | ||
# uses: actions/setup-python@v4 | ||
# with: | ||
# python-version: ${{ matrix.python-version }} | ||
# | ||
|
@@ -225,10 +227,10 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@main | ||
|
||
- name: Download artifacts | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v3 | ||
with: | ||
path: artifacts | ||
|
||
|
@@ -237,7 +239,7 @@ jobs: | |
working-directory: artifacts | ||
|
||
- name: Upload Coverage to Codecov | ||
uses: codecov/codecov-action@v2 | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos | ||
files: artifacts/coverage-${{ github.event_name }}-${{ github.sha }}/coverage.xml # optional | ||
|
@@ -261,11 +263,11 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@main | ||
|
||
# Minimum supported Python version by AllianceAuth | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.8 | ||
|
||
|
@@ -282,7 +284,7 @@ jobs: | |
python -m build | ||
- name: Upload Build Artifacts | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-${{ github.event_name }}-${{ github.sha }} | ||
path: dist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.