bot: set goirc client Timeout to 1min instead of default 0 #243
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| schedule: | |
| - cron: '0 6 * * 1' # weekly (every monday at 6 am UTC) | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '>=1.19' | |
| check-latest: true | |
| - name: install deps | |
| run: | | |
| go install golang.org/x/lint/golint@latest | |
| - run: go build -v ./... | |
| - run: go test -v ./... | |
| - run: go vet ./... | |
| - run: golint -set_exit_status ./... |