Commit graph

295 commits

Author SHA1 Message Date
Marco Ferrari
527c5a3986
Generate a code coverage report (#1353)
* Generate a code coverage report

* make linters happy

* adding action and badge

* no report for me

* Upload the test report

* adding folders

* spaces not tabs

* makefiles love tabs

* spacing is important

* rawr

* Fix makefile

* Add diagnostic info

* Set UID and GID

* Make info

* Add docker images in diagnostic info

* Move info before testing the local action

* Add missing -C to git diff-tree

* Reset ownership

* Add missing quotes

* Sudo

* Attempt to fix ARM test

* Attempt to fix go test

Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-04-22 13:56:18 -05:00
Lukas Gravley
08a586cf3b
adding Python MyPy (#1401)
* adding fun

* fix whitespace

* adding tests

* adding the array

* bug in file name

* fix tap

* makes no sense

* adding the hammer

* adding some extra protbuf
2021-03-24 14:00:23 -05:00
Lukas Gravley
3d39df7f0e
adding it (#1396)
* adding it

* i kant read

* make go go away
2021-03-23 12:02:16 -05:00
dependabot[bot]
2ef5105aa0
Bump ansible-lint from 5.0.2 to 5.0.3 in /dependencies (#1354)
* Bump ansible-lint from 5.0.2 to 5.0.3 in /dependencies

Bumps [ansible-lint](https://github.com/ansible-community/ansible-lint) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/ansible-community/ansible-lint/releases)
- [Commits](https://github.com/ansible-community/ansible-lint/compare/v5.0.2...v5.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

* adding it

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-03-11 09:15:17 -06:00
Teppei Fukuda
d1c8432796
chore(ci/trivy): replace script with action (#1355)
* chore: replace script with action

* delete trivy script

* more

Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-03-11 09:15:07 -06:00
dependabot[bot]
5f88bc67ef
Bump yoheimuta/protolint from v0.30.0 to v0.30.1 (#1338)
* Bump yoheimuta/protolint from v0.30.0 to v0.30.1

Bumps yoheimuta/protolint from v0.30.0 to v0.30.1.

Signed-off-by: dependabot[bot] <support@github.com>

* typo

* typo

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-03-10 12:43:35 -06:00
dependabot[bot]
b39cbbdf82
Bump wata727/tflint from 0.24.1 to 0.25.0 (#1323)
* Bump wata727/tflint from 0.24.1 to 0.25.0

Bumps wata727/tflint from 0.24.1 to 0.25.0.

Signed-off-by: dependabot[bot] <support@github.com>

* add

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-03-09 08:21:55 -06:00
dependabot[bot]
e70136d5b9
Bump stylelint from 13.11.0 to 13.12.0 in /dependencies (#1324)
* Bump stylelint from 13.11.0 to 13.12.0 in /dependencies

Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.11.0 to 13.12.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.11.0...13.12.0)

Signed-off-by: dependabot[bot] <support@github.com>

* adding it

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-03-08 15:09:42 -06:00
Antonio Yang
60e2561b15
Add clippy for rust (#1277)
* Add clippy for Rust

* Update ARM test cases

- fix arm good test case
- update tap report

* Lint github workflows release config
2021-03-08 14:13:04 -06:00
Lukas Gravley
c40b8e988f
it wants the long one... (#1313) 2021-03-05 09:41:45 -06:00
dependabot[bot]
5294082063
Bump golangci/golangci-lint from v1.37.1 to v1.38.0 (#1301)
* Bump golangci/golangci-lint from v1.37.1 to v1.38.0

Bumps golangci/golangci-lint from v1.37.1 to v1.38.0.

Signed-off-by: dependabot[bot] <support@github.com>

* more go

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-03-04 10:14:16 -06:00
dependabot[bot]
bbb3b6c4cd
Bump markdownlint-cli from 0.26.0 to 0.27.1 in /dependencies (#1293)
* Bump markdownlint-cli from 0.26.0 to 0.27.1 in /dependencies

Bumps [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) from 0.26.0 to 0.27.1.
- [Release notes](https://github.com/igorshubovych/markdownlint-cli/releases)
- [Commits](https://github.com/igorshubovych/markdownlint-cli/compare/v0.26.0...v0.27.1)

Signed-off-by: dependabot[bot] <support@github.com>

* fixed it

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-03-03 11:11:56 -06:00
dependabot[bot]
2c01cbf56d
Bump pylint from 2.7.1 to 2.7.2 in /dependencies (#1286)
* Bump pylint from 2.7.1 to 2.7.2 in /dependencies

Bumps [pylint](https://github.com/PyCQA/pylint) from 2.7.1 to 2.7.2.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog)
- [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.7.1...pylint-2.7.2)

Signed-off-by: dependabot[bot] <support@github.com>

* more

* more

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-03-01 09:29:45 -06:00
Lukas Gravley
f84d16fda0
adding sha info (#1272)
* adding sha info

* add the code
2021-02-26 13:17:45 -06:00
Lukas Gravley
0031981b46
fixed deploy (#1269)
* fixed deploy

* fixed pr name

* fixed spacing
2021-02-26 09:44:32 -06:00
Max Held
0b756c57e8
only error on rstats lintr errors, not all lints (#1233)
* only error on lintr errors

* ensure that dockerfile includes purrr

* update tap snapshot

* add actual lint error

* add snapshot for actual error

Co-authored-by: Gabriel Diaz <gabo.fdc@gmail.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-02-26 08:49:08 -06:00
Antonio Yang
f47b363f71
Add rustfmt for Rust (#1250)
* Add linter for Rust

- add 2015 edition
- add 2018 edition

* Add tap reports

- add tap reports
- fix good test case

* 1 command=lesslayers

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-02-26 08:47:21 -06:00
Lukas Gravley
acf858ae79
Adding release process (#1260)
* adding release process

* fix grep

* fix spacing

* fix spacing

* fix spacing

* fix spacing

* Update docs to reflect new release process

* Add issue template link

* fix version

Co-authored-by: Zack Koppert <zkoppert@github.com>
2021-02-25 08:57:42 -06:00
dependabot[bot]
205a0333bd
Bump cfn-lint from 0.45.0 to 0.46.0 in /dependencies (#1257)
* Bump cfn-lint from 0.45.0 to 0.46.0 in /dependencies

Bumps [cfn-lint](https://github.com/aws-cloudformation/cfn-python-lint) from 0.45.0 to 0.46.0.
- [Release notes](https://github.com/aws-cloudformation/cfn-python-lint/releases)
- [Changelog](https://github.com/aws-cloudformation/cfn-python-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws-cloudformation/cfn-python-lint/compare/v0.45.0...v0.46.0)

Signed-off-by: dependabot[bot] <support@github.com>

* more

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-02-24 10:43:09 -06:00
dependabot[bot]
b2491c3bd6
Bump pylint from 2.7.0 to 2.7.1 in /dependencies (#1256)
* Bump pylint from 2.7.0 to 2.7.1 in /dependencies

Bumps [pylint](https://github.com/PyCQA/pylint) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog)
- [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.7.0...pylint-2.7.1)

Signed-off-by: dependabot[bot] <support@github.com>

* fix jscpd

* fix json

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-24 09:09:56 -06:00
dependabot[bot]
7c4842d2d2
Bump ansible-lint from 5.0.1 to 5.0.2 in /dependencies (#1248)
* Bump ansible-lint from 5.0.1 to 5.0.2 in /dependencies

Bumps [ansible-lint](https://github.com/ansible-community/ansible-lint) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/ansible-community/ansible-lint/releases)
- [Commits](https://github.com/ansible-community/ansible-lint/compare/v5.0.1...v5.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

* fix ansible

* fix ansible

* looking

* maybe baby

* adding details

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-24 07:45:39 -06:00
Eric Nemchik
389fe11f9b
Use git ls-tree to build file list (#1192)
* Ignore files that are ignored by Git (#1185)

* Ignore files that are ignored by Git

* Add missing continue statement

* Fix linting errors

* Fix linting errors

* like it

* like it

* Add the IGNORE_GITIGNORED_FILES variable

* Fix setting the Ansible directory when running tests

* Fix var export

* Update linter.sh

Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>

* Remove RenameTestFolder

* Update action.yml

* removing the dockignore from our test...

* fixed it

Co-authored-by: Marco Ferrari <ferrari.marco@gmail.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-23 11:51:34 -06:00
dependabot[bot]
537676a883
Bump rubocop from 0.89.1 to 1.6.1 in /dependencies (#1239)
* Bump rubocop from 0.89.1 to 1.6.1 in /dependencies

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.89.1 to 1.6.1.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.89.1...v1.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

* fix language

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-22 12:51:02 -06:00
Lukas Gravley
9bfc6158b9
Fix Tap report spacing (#1240)
* cleaner

* fix go

* fix go

* going ham

* fix typo

* fix typo

* fix typo

* fix mapfile

* fix mapfile

* fixed spacing
2021-02-22 11:28:49 -06:00
dependabot[bot]
2b9f629188
Bump @typescript-eslint/eslint-plugin from 4.0.0 to 4.15.1 in /dependencies (#1238)
* Bump @typescript-eslint/eslint-plugin in /dependencies

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.0.0 to 4.15.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.1/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

* fix tap

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-19 09:07:06 -06:00
Lukas Gravley
b951bb2fad
only show high and critical (#1229)
* only show high and critical

* only show high and critical

* only show high and critical
2021-02-18 10:21:53 -06:00
dependabot[bot]
570a113901
Bump cljkondo/clj-kondo from 2021.01.20-alpine to 2021.02.13-alpine (#1213)
* Bump cljkondo/clj-kondo from 2021.01.20-alpine to 2021.02.13-alpine

Bumps cljkondo/clj-kondo from 2021.01.20-alpine to 2021.02.13-alpine.

Signed-off-by: dependabot[bot] <support@github.com>

* fix ascii

* fix spacing

* removing non ascii chars

* fixed typo

* fixed typo

* add location

* flaky go

* flaky go

* flaky ansible

* fix groovy

* update

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-18 09:59:43 -06:00
Zack Koppert
35e2d160a4
Add trivy scans for container security (#1209)
* Create trivy.yml

* Add descriptive names

* Add fs mode to catch package.lock issues

* use script to get around timeout

* use script to get around timeout

* set it

* set it

* update deps

* Align with comment style

* fix headeer

* npm audit fix to patch vulnerabilities

Signed-off-by: Zack Koppert <zkoppert@github.com>

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-02-17 16:03:30 -06:00
Jeremiah
00c70f4b2c
Update snakefmt to 0.3.0 and black to 20.3 (now supported by snakefmt). (#1212)
* Update snakefmt to 0.3.0 and black to 20.3 (now suppored by snakefmt).

* Update pipfile for ansible 5.0

* Align pipfile python with Docker alpine image

* Explicitly pin python minor version in dockerfile

* Ansible updates

* Add missing cryptography dependencies

* Eliminate deprecated ansible syntax

* Update expected output for ansible

* Try to add regex to handle test run length

* Yaml doc syntax fixes

* Flailing attempt at tap wildcard

* Catch dynamic output from ansible-lint

* Update regex

* Fix regex statement

* Fix tap output

* Update go error message (issue from master branch)

* Fix regex

* Ansible strikes back

* Fix tap output

* Fix json tap

* Update r tap
2021-02-17 07:32:40 -06:00
dependabot[bot]
1df69f651f
Bump yoheimuta/protolint from v0.28.0 to v0.28.1 (#1169)
* Bump yoheimuta/protolint from v0.28.0 to v0.28.1

Bumps yoheimuta/protolint from v0.28.0 to v0.28.1.

Signed-off-by: dependabot[bot] <support@github.com>

* maybe

* maybe

* use better docker

* use better docker

* use better docker

* use better docker

* use better docker

* use better docker

* fixed it

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-03 09:08:08 -06:00
Marco Ferrari
ab8780a58f
Install, configure, and run jscpd. Add missing tests (#1032)
Co-authored-by: Gabo <gabo.fdc@gmail.com>
Co-authored-by: Matt Desmond <beardofedu@github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-01-27 20:47:34 +01:00
Lukas Gravley
e11786a54c
Adding Flag for Possum (#1149)
* adding a bad feature

* fix hadolint
2021-01-19 11:03:14 -06:00
dependabot[bot]
9a882c6476
Bump dotenvlinter/dotenv-linter from 2.2.1 to 3.0.0 (#1140)
* Bump dotenvlinter/dotenv-linter from 2.2.1 to 3.0.0

Bumps dotenvlinter/dotenv-linter from 2.2.1 to 3.0.0.

Signed-off-by: dependabot[bot] <support@github.com>

* fix tap

* really fix it

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-01-13 09:51:01 -06:00
Gabriel Diaz
5c31b85619
Remove duplicated code (#1137)
* Remove duplicated code on ghe config apply

* Add funciton to replace duplicated cod

* Fix comment

* Fix java test duplicated code

* Fix python test duplicated code

* Update javascript es test acording to change

* Fix linters bash

* Fix javascript standard linters on javascript es good
2021-01-12 12:54:00 -06:00
Gabriel Diaz
909d745d0b
Update arm template (#1131) 2021-01-11 08:57:49 -06:00
dependabot[bot]
a3711bd52a
Bump yoheimuta/protolint from v0.26.1 to v0.27.0 (#1097)
* Bump yoheimuta/protolint from v0.26.1 to v0.27.0

Bumps yoheimuta/protolint from v0.26.1 to v0.27.0.

Signed-off-by: dependabot[bot] <support@github.com>

* Fix protobuf tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gabo <gabo.fdc@gmail.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-01-04 12:47:37 -06:00
Lukas Gravley
193de39afd
Adding support for Prettier (#1118)
* adding it

* fix spaces

* vars were backwards

* remove prettier from function test
2021-01-04 11:07:57 -06:00
Lukas Gravley
37b098dff5
Try to build with caching to help build times (#1051)
* trying this out

* adding auth

* adding more tags

* check log

* try2

* fix vars

* remove debug

* fix tap

* Revert "fix tap"

This reverts commit 3e1fa4c704.

* checks

* get sha another way

* fix env vars

* making more env

* checking names

* fix repo name

* fix copypasta

* remove spaces

* fixed container name

* fix var and stop uploading dev
2020-12-04 12:49:09 -06:00
Thad Craft
32b3cde716
Enable @SuppressWarnings annotation support by default for Java (#1052)
* Enable @SuppressWarnings annotation support by default for Java checkstyle

* Ensure that args is used

* Add updates to the sun_checks in .github/linters

* Comment out Javadoc linter to remove need for package-info

* Fix expected-JAVA.tap to match new test cases

* Fix expected-JAVA.tap to match output

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2020-12-04 08:46:42 -06:00
Lukas Gravley
6f1a131b14
fixing logic for file find (#1049)
* fixing logic

* fix warn error

* fix files

* maybe?

* fix test name

* fix test
2020-12-03 16:17:55 -06:00
Marco Ferrari
241f9f2cad
Harden testing (#982) 2020-11-20 09:12:31 -06:00
Lukas Gravley
cf19607c3c
Gherkin (#1011)
* adding gherkin

* adding to array

* fix space

* Update Dockerfile

* adding rules

* adding rules

Co-authored-by: SVN Migrator <someone@somewhere.com>
2020-11-19 09:54:20 -06:00
Lukas Gravley
7943ce1f54
break out: (#990)
* break out:

* fix it

* fix source

* add them exports

* more path

* more path
2020-11-12 11:27:34 -06:00
Marco Ferrari
50d33cbbe0 Fix ansible tests 2020-11-07 00:18:42 +01:00
Marco Ferrari
e17ed25116 Fix r tests 2020-11-07 00:15:29 +01:00
Marco Ferrari
7f1c3a3a45 Fix go formatting 2020-11-06 23:52:00 +01:00
Marco Ferrari
1d6fad5626 Fix shfmt bad test 2020-11-06 23:48:31 +01:00
Marco Ferrari
4b92c25a4b Fix editorconfig-checker errors 2020-11-06 23:18:48 +01:00
Marco Ferrari
b7e5dfce01 Fix shfmt errors 2020-11-06 23:10:09 +01:00
Marco Ferrari
e1a83d9f70 Fix C# good test 2020-11-06 22:13:57 +01:00