This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
-
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.
style: changing linting targets to be prefixed with 'check'
- Loading branch information
1 parent
c5dbfe6
commit c3e6054
Showing
6 changed files
with
20 additions
and
17 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
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 |
---|---|---|
|
@@ -133,12 +133,12 @@ fix-formatting: | |
BUILD +fix-yaml-formatting | ||
|
||
|
||
go-linting: | ||
check-go-linting: | ||
FROM +golang-base | ||
RUN go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
DO +INSTALL_DEPENDENCIES | ||
DO +COPY_SOURCECODE | ||
RUN ./ci/go-linting.sh | ||
RUN ./ci/check-go-linting.sh | ||
|
||
|
||
ubuntu-base: | ||
|
@@ -147,24 +147,24 @@ ubuntu-base: | |
RUN apt-get update --fix-missing | ||
|
||
|
||
sh-linting: | ||
check-sh-linting: | ||
FROM +ubuntu-base | ||
RUN apt-get install shellcheck -y | ||
DO +COPY_CI_DATA | ||
RUN ./ci/sh-linting.sh | ||
RUN ./ci/check-sh-linting.sh | ||
|
||
|
||
github-actions-workflows-linting: | ||
check-github-actions-workflows-linting: | ||
FROM +golang-base | ||
RUN go install github.com/rhysd/actionlint/cmd/[email protected] | ||
DO +COPY_METADATA | ||
RUN ./ci/github-actions-workflows-linting.sh | ||
RUN ./ci/check-github-actions-workflows-linting.sh | ||
|
||
|
||
linting: | ||
BUILD +go-linting | ||
BUILD +sh-linting | ||
BUILD +github-actions-workflows-linting | ||
check-linting: | ||
BUILD +check-go-linting | ||
BUILD +check-sh-linting | ||
BUILD +check-github-actions-workflows-linting | ||
|
||
|
||
check-module-tidying: | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.