From 6a0cdc490664e17f7efd8316caab08be623cdf09 Mon Sep 17 00:00:00 2001 From: knative-automation Date: Fri, 24 Sep 2021 05:26:22 -0400 Subject: [PATCH] Update actions (#1461) Signed-off-by: Knative Automation --- .github/workflows/knative-releasability.yaml | 4 ++-- .github/workflows/knative-style.yaml | 22 ++++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/knative-releasability.yaml b/.github/workflows/knative-releasability.yaml index 7ddcb819f..c77fd9827 100644 --- a/.github/workflows/knative-releasability.yaml +++ b/.github/workflows/knative-releasability.yaml @@ -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: diff --git a/.github/workflows/knative-style.yaml b/.github/workflows/knative-style.yaml index 00902ffd4..e6aa03a72 100644 --- a/.github/workflows/knative-style.yaml +++ b/.github/workflows/knative-style.yaml @@ -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() }}