Skip to content

Commit

Permalink
Update super-linter reference, bump to v7.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
elopez committed Dec 31, 2024
1 parent 0e506fc commit 950b275
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Lint Code Base
name: Lint Code Base (black)

defaults:
run:
Expand All @@ -15,9 +15,15 @@ on:

jobs:
build:
name: Lint Code Base
name: Lint Code Base (black)
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write

steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -33,7 +39,7 @@ jobs:
cp pyproject.toml .github/linters
- name: Black
uses: github/super-linter/slim@v5.0.0
uses: super-linter/super-linter/slim@v7.2.1
if: always()
env:
# run linter on everything to catch preexisting problems
Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Lint Code Base
name: Lint Code Base (pylint)

defaults:
run:
Expand All @@ -15,12 +15,22 @@ on:

jobs:
build:
name: Lint Code Base
name: Lint Code Base (pylint)
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write

steps:
- name: Checkout Code
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

- name: Set up Python 3.8
uses: actions/setup-python@v5
Expand All @@ -33,7 +43,7 @@ jobs:
cp pyproject.toml .github/linters
- name: Pylint
uses: github/super-linter/slim@v5.0.0
uses: super-linter/super-linter/slim@v7.2.1
if: always()
env:
# run linter on everything to catch preexisting problems
Expand Down

0 comments on commit 950b275

Please sign in to comment.