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

[15.0] ci: Update deprecated action #62

Open
wants to merge 3 commits into
base: 15.0
Choose a base branch
from
Open
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
23 changes: 9 additions & 14 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ jobs:
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: 3.7
Expand All @@ -25,20 +29,11 @@ jobs:
--per-file-ignores='**/init.py:F401' \
--exclude=__unported__,__init__.py,examples \
--show-source --statistics --count --max-line-length=120 .
- uses: grantmcconnaughey/lintly-flake8-github-action@v1.0
- uses: super-linter/[email protected].0
if: github.event_name == 'pull_request'
with:
# The GitHub API token to create reviews with
token: ${{ secrets.GITHUB_TOKEN }}
# Fail if "new" violations detected or "any", default "new"
failIf: new
# Additional arguments to pass to flake8, default "." (current directory)
args: |
--select=C,E,F,W,B,B950 \
--ignore=E123,E133,E226,E241,E242,F811,F601,W503,W504,E203,E501 \
--per-file-ignores='**/init.py:F401' \
--exclude=__unported__,__init__.py,examples \
--show-source --statistics --max-line-length=120 .
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILTER_REGEX_EXCLUDE: ^__init__\.py|examples
pylint:
runs-on: ubuntu-latest
if: github.event_name == 'push'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
# Download artifact with db name
- name: Download artifact with database name
if: ${{ github.event.label.name == 'staging' }}
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v6
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: staging.yaml
Expand Down
Loading