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

build: enable actionlint's warning from MegaLinter #2234

Merged
merged 5 commits into from
Mar 18, 2023
Merged
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
5 changes: 3 additions & 2 deletions .github/workflows/mega-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ jobs:
env:
# All available variables are described in documentation
# https://megalinter.io/configuration/
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref
== 'refs/heads/main' }} # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources
# VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref
# == 'refs/heads/main' }} # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources
VALIDATE_ALL_CODEBASE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
# DISABLE: COPYPASTE,SPELL # Uncomment to disable copy-paste and spell checks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: 💰 Cache
uses: Swatinem/rust-cache@v2
with:
key: 0.6.0-${{ inputs.target_option }}
key: 0.6.0-
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Build
uses: richb-hanover/cargo@v1.1.0
Expand Down
1 change: 0 additions & 1 deletion .mega-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ DISABLE_ERRORS_LINTERS:
- REPOSITORY_TRIVY
- REPOSITORY_CHECKOV
- REPOSITORY_DEVSKIM
- ACTION_ACTIONLINT
- BASH_SHELLCHECK
- C_CPPLINT
- CPP_CPPLINT
Expand Down