-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
SHELL = /bin/bash -o pipefail | ||
|
||
.PHONY: test test-ci lint lint-ci fmt fmt-ci upgrade clean release lint-docs audit encrypt decrypt sops | ||
.PHONY: test test-ci lint lint-ci fmt fmt-ci upgrade clean release lint-docs lint-docs-ci audit encrypt decrypt sops | ||
|
||
test: | ||
gotestsum --format pkgname --packages ./... -- -race -timeout 10m -cover -covermode atomic | ||
|
@@ -35,7 +35,10 @@ release: | |
npx --yes --package '[email protected]' --package '@release-it/[email protected]' -- release-it | ||
|
||
lint-docs: | ||
npx --yes --package 'markdownlint-cli@~0.34.0' -- markdownlint --ignore-path .gitignore --ignore testdata/ '**/*.md' | ||
npx --yes --package 'markdownlint-cli@~0.41.0' -- markdownlint --ignore-path .gitignore --ignore testdata/ --fix '**/*.md' | ||
|
||
lint-docs-ci: lint-docs | ||
git diff --exit-code --color=always | ||
|
||
audit: | ||
go list -json -deps ./... | nancy sleuth --skip-update-check | ||
|