mirror of https://github.com/knative/client.git
Update actions (#1611)
Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
parent
ad863f3f37
commit
621ddbb0bc
|
|
@ -38,9 +38,9 @@ jobs:
|
||||||
env:
|
env:
|
||||||
#########################################
|
#########################################
|
||||||
# Update this section each release. #
|
# Update this section each release. #
|
||||||
RELEASE: 'v1.2'
|
RELEASE: 'v1.3'
|
||||||
MODULE_RELEASE: 'v0.29'
|
MODULE_RELEASE: 'v0.30'
|
||||||
SLACK_CHANNEL: 'release-1dot2'
|
SLACK_CHANNEL: 'release-1dot3'
|
||||||
#########################################
|
#########################################
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -149,6 +149,7 @@ jobs:
|
||||||
git check-attr --stdin linguist-vendored | grep -Ev ': (set|true)$' | cut -d: -f1 |
|
git check-attr --stdin linguist-vendored | grep -Ev ': (set|true)$' | cut -d: -f1 |
|
||||||
git check-attr --stdin ignore-lint | grep -Ev ': (set|true)$' | cut -d: -f1 |
|
git check-attr --stdin ignore-lint | grep -Ev ': (set|true)$' | cut -d: -f1 |
|
||||||
grep -Ev '^(vendor/|third_party/|.git)' |
|
grep -Ev '^(vendor/|third_party/|.git)' |
|
||||||
|
grep -v '\.svg$' |
|
||||||
xargs misspell -i importas -error |
|
xargs misspell -i importas -error |
|
||||||
reviewdog -efm="%f:%l:%c: %m" \
|
reviewdog -efm="%f:%l:%c: %m" \
|
||||||
-name="github.com/client9/misspell" \
|
-name="github.com/client9/misspell" \
|
||||||
|
|
@ -179,6 +180,7 @@ jobs:
|
||||||
git check-attr --stdin linguist-vendored | grep -Ev ': (set|true)$' | cut -d: -f1 |
|
git check-attr --stdin linguist-vendored | grep -Ev ': (set|true)$' | cut -d: -f1 |
|
||||||
git check-attr --stdin ignore-lint | grep -Ev ': (set|true)$' | cut -d: -f1 |
|
git check-attr --stdin ignore-lint | grep -Ev ': (set|true)$' | cut -d: -f1 |
|
||||||
grep -Ev '^(vendor/|third_party/|.git)' |
|
grep -Ev '^(vendor/|third_party/|.git)' |
|
||||||
|
grep -v '\.svg$' |
|
||||||
xargs grep -nE " +$" |
|
xargs grep -nE " +$" |
|
||||||
reviewdog -efm="%f:%l:%m" \
|
reviewdog -efm="%f:%l:%m" \
|
||||||
-name="trailing whitespace" \
|
-name="trailing whitespace" \
|
||||||
|
|
@ -211,7 +213,8 @@ jobs:
|
||||||
git check-attr --stdin linguist-vendored | grep -Ev ': (set|true)$' | cut -d: -f1 |
|
git check-attr --stdin linguist-vendored | grep -Ev ': (set|true)$' | cut -d: -f1 |
|
||||||
git check-attr --stdin ignore-lint | grep -Ev ': (set|true)$' | cut -d: -f1 |
|
git check-attr --stdin ignore-lint | grep -Ev ': (set|true)$' | cut -d: -f1 |
|
||||||
grep -Ev '^(vendor/|third_party/|.git)' |
|
grep -Ev '^(vendor/|third_party/|.git)' |
|
||||||
grep -v '\.ai$')
|
grep -v '\.ai$' |
|
||||||
|
grep -v '\.svg$')
|
||||||
|
|
||||||
for x in $LINT_FILES; do
|
for x in $LINT_FILES; do
|
||||||
# Based on https://stackoverflow.com/questions/34943632/linux-check-if-there-is-an-empty-line-at-the-end-of-a-file
|
# Based on https://stackoverflow.com/questions/34943632/linux-check-if-there-is-an-empty-line-at-the-end-of-a-file
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue