Skip to content

Commit 6ec5ad5

Browse files
authored
Merge pull request #31 from unixorn/switch-to-megalinter
Switch to megalinter
2 parents 1ea4d93 + eca4cb3 commit 6ec5ad5

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

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

+14-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
###########################
23
###########################
34
## Linter GitHub Actions ##
@@ -26,7 +27,7 @@ on:
2627
jobs:
2728
build:
2829
# Name the Job
29-
name: Lint Code Base
30+
name: Megalint Code Base
3031
# Set the agent to run on
3132
runs-on: ubuntu-latest
3233

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

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
44
![Awesomebot](https://github.com/unixorn/lima-xbar-plugin/actions/workflows/awesomebot.yml/badge.svg)
5-
![Superlinter](https://github.com/unixorn/lima-xbar-plugin/actions/workflows/superlinter.yml/badge.svg)
5+
![Megalinter](https://github.com/unixorn/lima-xbar-plugin/actions/workflows/megalinter.yml/badge.svg)
66
![codeql](https://github.com/unixorn/lima-xbar-plugin/actions/workflows/codeql-analysis.yml/badge.svg)
77
[![GitHub stars](https://img.shields.io/github/stars/unixorn/lima-xbar-plugin.svg)](https://github.com/unixorn/lima-xbar-plugin/stargazers)
88

0 commit comments

Comments
 (0)