mirror of https://github.com/knative/client.git
Update actions (#1461)
Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
parent
a7a0534f44
commit
6a0cdc4906
|
|
@ -36,8 +36,8 @@ jobs:
|
||||||
env:
|
env:
|
||||||
#########################################
|
#########################################
|
||||||
# Update this section each release. #
|
# Update this section each release. #
|
||||||
RELEASE: 'v0.25'
|
RELEASE: 'v0.26'
|
||||||
SLACK_CHANNEL: 'release-25'
|
SLACK_CHANNEL: 'release-26'
|
||||||
#########################################
|
#########################################
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -98,6 +98,16 @@ jobs:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- id: golangci_configuration
|
||||||
|
uses: andstor/file-existence-action@v1
|
||||||
|
with:
|
||||||
|
files: .golangci.yaml
|
||||||
|
- name: Go Lint
|
||||||
|
if: steps.golangci_configuration.outputs.files_exists == 'true'
|
||||||
|
uses: golangci/golangci-lint-action@v2
|
||||||
|
with:
|
||||||
|
version: v1.42
|
||||||
|
|
||||||
- name: Install Tools
|
- name: Install Tools
|
||||||
env:
|
env:
|
||||||
WOKE_VERSION: v0.13.0
|
WOKE_VERSION: v0.13.0
|
||||||
|
|
@ -110,7 +120,7 @@ jobs:
|
||||||
echo '::endgroup::'
|
echo '::endgroup::'
|
||||||
|
|
||||||
echo '::group:: Installing misspell ... https://github.com/client9/misspell'
|
echo '::group:: Installing misspell ... https://github.com/client9/misspell'
|
||||||
go get github.com/client9/misspell/cmd/misspell
|
curl -sfL https://raw.githubusercontent.com/client9/misspell/master/install-misspell.sh | sh -s -- -b "${TEMP_PATH}" 2>&1
|
||||||
echo '::endgroup::'
|
echo '::endgroup::'
|
||||||
|
|
||||||
echo '::group:: Installing woke ... https://github.com/get-woke/woke'
|
echo '::group:: Installing woke ... https://github.com/get-woke/woke'
|
||||||
|
|
@ -119,16 +129,6 @@ jobs:
|
||||||
|
|
||||||
echo "${TEMP_PATH}" >> $GITHUB_PATH
|
echo "${TEMP_PATH}" >> $GITHUB_PATH
|
||||||
|
|
||||||
- id: golangci_configuration
|
|
||||||
uses: andstor/file-existence-action@v1
|
|
||||||
with:
|
|
||||||
files: .golangci.yaml
|
|
||||||
- name: Go Lint
|
|
||||||
if: steps.golangci_configuration.outputs.files_exists == 'true'
|
|
||||||
uses: golangci/golangci-lint-action@v2
|
|
||||||
with:
|
|
||||||
version: v1.42
|
|
||||||
|
|
||||||
- name: misspell
|
- name: misspell
|
||||||
shell: bash
|
shell: bash
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue