Update actions (#4280)

Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
knative-automation 2021-10-12 17:22:21 -04:00 committed by GitHub
parent fe8af522a2
commit e75a39e9c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 13 deletions

View File

@ -36,8 +36,8 @@ jobs:
env:
#########################################
# Update this section each release. #
RELEASE: 'v0.25'
SLACK_CHANNEL: 'release-25'
RELEASE: 'v0.26'
SLACK_CHANNEL: 'release-26'
#########################################
steps:

View File

@ -98,6 +98,16 @@ jobs:
- name: Check out code
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
env:
WOKE_VERSION: v0.13.0
@ -110,7 +120,7 @@ jobs:
echo '::endgroup::'
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 '::group:: Installing woke ... https://github.com/get-woke/woke'
@ -119,16 +129,6 @@ jobs:
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
shell: bash
if: ${{ always() }}