[master] Update GitHub Actions (#331)

Copied from `https://github.com/knative/.github/tree/master/workflow-templates`.
/assign n3wscott vagababov
/cc n3wscott vagababov
This commit is contained in:
Matt Moore 2020-09-14 09:20:03 -07:00 committed by GitHub
parent 58627457dc
commit 11799af7d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -60,3 +60,15 @@ jobs:
exit 1
fi
echo "${{ github.repository }} is formatted correctly."
- 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.30
only-new-issues: true # for initial defensiveness