Skip to content

fix(pkg/events): fix typo #681

fix(pkg/events): fix typo

fix(pkg/events): fix typo #681

Workflow file for this run

name: Tests
on: [push]
jobs:
linters:
name: linters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_KEY }}
- name: Setup gitconfig and ssh
run: |
git config --global url."[email protected]:".insteadOf "https://github.com/"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.52.2
- name: Check if dependencies are up-to-date
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
go mod tidy
go mod verify
git status
if [[ -n "$(git status --porcelain)" ]]; then
echo 'go.mod/sum is out-of-date: run `go mod tidy` and then check in the changes'
echo 'If `go mod tidy` results in no changes, make sure you are using the latest 1.19 release of Go'
exit 1
fi