Skip to content

Commit 51f2328

Browse files
committed
Switch to megalinter
- Switch to megalinter. - Upload megalinter results as GitHub artifacts Signed-off-by: Joe Block <[email protected]>
1 parent 1ea4d93 commit 51f2328

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

Diff for: .github/workflows/superlinter.yml renamed to .github/workflows/megalinter.yml

+13-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626
jobs:
2727
build:
2828
# Name the Job
29-
name: Lint Code Base
29+
name: Megalint Code Base
3030
# Set the agent to run on
3131
runs-on: ubuntu-latest
3232

@@ -47,8 +47,18 @@ jobs:
4747
# Run Linter against code base #
4848
################################
4949
- name: Lint Code Base
50-
uses: github/super-linter@v4
50+
uses: nvuillam/mega-linter@v4
5151
env:
5252
VALIDATE_ALL_CODEBASE: false
5353
DEFAULT_BRANCH: main
54-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
56+
# Upload Mega-Linter artifacts. They will be available on Github action page "Artifacts" section
57+
- name: Archive production artifacts
58+
if: ${{ success() }} || ${{ failure() }}
59+
uses: actions/upload-artifact@v2
60+
with:
61+
name: Mega-Linter reports
62+
path: |
63+
report
64+
mega-linter.log

0 commit comments

Comments
 (0)