liangbowen
4e8371f370
add env BASH_SEVERITY to specify minimum severity of errors in shellcheck
2023-04-16 23:54:10 -04:00
Janis Voigtländer
92ee250684
Textlint should check every file
2023-04-16 22:08:23 -04:00
RD WebDesign
27080df2e5
Fix typo on linter.sh
...
Replace `langauge` with `language`.
2023-04-10 19:32:15 -04:00
AUGMELO
80ce402b36
fix: shellcheck
2023-04-10 19:31:56 -04:00
AUGMELO
c4f48873a4
feat: add support to github.server_url
...
Striping the http[s] from the $GITHUB_DOMAIN will allow the users to pass github.server_url to the action
https://docs.github.com/en/actions/learn-github-actions/contexts
2023-04-10 19:31:56 -04:00
tonyk7440
516b3f81b1
#3501 edit code to debug from review
2023-04-10 19:29:18 -04:00
Tony Kenny
e8d8e662c8
#3473 redirect more output
2023-04-10 19:29:18 -04:00
tonyk7440
c525f0b39f
#3473 try alternate install cmd
2023-04-10 19:29:18 -04:00
Brett Logan
aa6f589b25
Address PR comments
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-16 21:14:13 -05:00
Brett Logan
c681b09ebe
Specify version flag for kubeconform
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-16 21:14:13 -05:00
Rui Chen
148a5f5a30
update kubeconform cli arg
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-16 21:14:13 -05:00
Rui Chen
e6445c358f
replace kubeval with kubeconform
...
Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-16 21:14:13 -05:00
Marco Ferrari
81c370a611
Validate if we the test suite runs both good and bad tests ( #3811 )
...
Also, remove the ansible-lint configuration file because we can rely on the default one
2023-01-11 17:24:48 +01:00
Marco Ferrari
053a52e2f6
Fix Google Java Format tests and return code, and show output only if changed ( #3810 )
2023-01-11 15:52:36 +01:00
Jon Hamm
aad87c569b
add jenkinsfile to groovy files
2023-01-05 09:52:29 -05:00
Brett Logan
cedda7c156
Revert psd1 extension change and ignore PSMissingModuleManifestField
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-05 09:46:51 -05:00
Brett Logan
f3c9bbd0ef
Use canonical PSScriptAnalyzer setting file extension
...
The PSScriptAnalyzer expects a text file, not a PowerShell extension
on the filename. The latest version of powershell now respects this
rule and breaks testing as the settings file doesn't meet the requirements
of the linter.
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-05 09:46:51 -05:00
Marco Ferrari
91a4987b95
Reduce ansible-lint verbosity
2023-01-05 09:42:40 -05:00
Marco Ferrari
419a547ff4
Don't show Gitleaks banner in output to make it more concise
2023-01-05 09:42:40 -05:00
Marco Ferrari
f0fe1c900b
Conditionally create log file
2023-01-05 09:42:11 -05:00
Algin Maduro
885744f3f4
fix failing lint
2023-01-04 22:44:16 -05:00
Algin Maduro
50be96aaf9
review comments
2023-01-04 22:44:16 -05:00
Algin Maduro
9f4a208eb5
Add terraform fmt support
2023-01-04 22:44:16 -05:00
Brett Logan
d2600eb1bd
Fix shellcheck error
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-04 01:45:10 -05:00
Brett Logan
ba31e65dd4
Ignore warning in shellcheck
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-04 01:45:10 -05:00
Brett Logan
6f804d1b87
Add GITHUB_ACTIONS_COMMAND_ARGS environment variable
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-04 00:35:25 -05:00
Brett Logan
24b9c2cbb4
Revert Dart update
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-03 23:54:16 -05:00
Brett Logan
7fa037d7e8
Remove retired Dart Analyze flag
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-03 23:54:16 -05:00
Brett Logan
088b69df6f
Fix dart analyze
...
Signed-off-by: Brett Logan <lindluni@github.com>
2023-01-03 23:54:16 -05:00
Christoph Höger
adbf28f42d
Use git check-ignore instead of a (incomplete) list of ignored files
...
The list-based method breaks down in case of ignored folders:
If .gitignore contains foo/, foo/bar.py is still checked.
Signed-off-by: Christoph Höger <christoph.hoeger@piano.io>
2023-01-03 20:14:39 -05:00
Marco Ferrari
8607445fb4
Throw a fatal error if tflint --init fails
2022-10-09 19:31:12 -04:00
Marco Ferrari
2053621293
Use TFLINT_LOG environment variable instead of the deprecated --loglevel option ( #3414 )
2022-10-05 13:27:30 +00:00
Marco Ferrari
808436342f
Build process improvements ( #3367 )
...
* Fix issues with the container image build
* Fix asl-validator version check
* Disable filename rule when running ktlint tests
* Bump asl-validator from 2.2.1 to 3.0.8 in /dependencies
Bumps [asl-validator](https://github.com/ChristopheBougere/asl-validator ) from 2.2.1 to 3.0.8.
- [Release notes](https://github.com/ChristopheBougere/asl-validator/releases )
- [Commits](https://github.com/ChristopheBougere/asl-validator/compare/2.2.1...3.0.8 )
---
updated-dependencies:
- dependency-name: asl-validator
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Show errors when using curl to call the status API
* Make the build more reproducible
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-28 08:45:01 -05:00
Marco Ferrari
2d7b73b7b9
Change directory to ANSIBLE_DIRECTORY before running ansible-lint and enable autodetection ( #3350 )
...
* Change directory to ANSIBLE_DIRECTORY before running ansible-lint
* move log so we see it
* Don't pass the directory to enable autodetection
2022-09-27 07:59:15 +00:00
Brett Logan
c900dee197
Update linter.sh ( #3251 )
2022-08-18 12:22:39 -05:00
Nicolas Vuillamy
f1196a50f6
Remove npm-groovy-lint custom handling as it now accepts files as arguments ( #3250 )
2022-08-15 12:49:50 -05:00
Max Thomson
02e2e313f9
Fix secondary rules extension ( #3136 )
2022-07-13 13:20:10 -05:00
Guilhem Lettron
34cfb29962
fix(go): use --fast
golangci-lint option ( #3043 )
...
All tests can't be run agaist single files.
golangci-lint have a dedicated list of linter adapted to single file
usage.
https://github.com/golangci/golangci-lint/issues/1574
Signed-off-by: Guilhem Lettron <guilhem@barpilot.io>
2022-06-16 15:11:28 -05:00
Lukas Gravley
53ff7db7b5
Rubocop 1.30 ( #2964 )
...
* update rubocop
* adding unrec cops
* fix space
2022-05-27 15:45:59 -05:00
Lukas Gravley
bb6a68e80b
adding log level ( #2959 )
...
* adding log level
* Update lib/functions/detectFiles.sh
Co-authored-by: Tibo Delor <delor.thibault@gmail.com>
* fix space
Co-authored-by: Tibo Delor <delor.thibault@gmail.com>
2022-05-26 09:33:19 -05:00
Lukas Gravley
431ee7836e
Release 4.9.3 ( #2948 )
...
* Update action.yml
* Update action.yml
* set flag to solve local changes
* spaces
2022-05-24 13:44:12 -05:00
Lukas Gravley
6c24367c7b
dumb issue ( #2810 )
2022-04-20 09:04:58 -07:00
Lukas Gravley
cb3c5472d8
adding safe ( #2806 )
...
* adding safe
* make a var
* so dumb
* so dumber
* so dumberer
* so dumbererer
* so dumberererer
* both
2022-04-19 15:12:46 -07:00
Lukas Gravley
14eb37a88c
adding addional command ( #2711 )
...
* adding addional command
* shell format
2022-03-28 13:32:04 -05:00
Stephen Abbene
32eb1cccda
Add Perl::Critic::Community and PERL_PERLCRITIC_OPTIONS to allow passing command line options to perlcritic ( #2684 )
...
Co-authored-by: Stephen Abbene <sabbene@users.noreply.github.com>
2022-03-28 08:56:50 -05:00
Alexandre Favre
f72905b7cc
Add KOTLIN_ANDROID to LANGUAGE_ARRAY ( #2689 )
2022-03-28 08:55:45 -05:00
Alexandre Favre
edc7095b4b
Add Android support for Kotlin ( #2670 )
...
* Fix Kotlin good test case (incorrect filename)
* Add Android support for Kotlin
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-03-24 15:39:52 -05:00
Marco Ferrari
c5e5046b8b
Don't override the PATH when installing Psalm ( #2643 )
2022-03-23 11:43:28 -05:00
Masaya Suzuki
e277edca06
Use ts-standard instead of standard as TYPESCRIPT_STANDARD ( #2614 )
...
* Use ts-standard instead of standard as TYPESCRIPT_STANDARD
* Add ts-standard
* Update test case
* Update test case
* Add tsconfig.json
* Add tsconfig.json environment value
* Fix "TypeScript"
* Fix package version
* Fix package version
* Fix package version
* Fix package version
* Fix settings
* Remove config file env
* Fix version
* Fix eslintrc
* Fix project path
* Fix project path
* Fix setting
* Fix env
* Add .eslintrc.yml for ts-standard
* Fix README
* Fix settings
* Change include paths
* Change include paths
* Change include paths
* Change include paths
* Fix dependencies
* Fix dependencies
* Fix dependence versions
2022-03-16 10:21:57 -05:00
Marco Ferrari
4b16b5b473
Lint the whole Ansible directory ( #2576 )
2022-03-14 20:47:04 +01:00