rpc: look thru all comment directive lines, not just first #41
This file contains 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: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
schedule: | |
- cron: '0 8 * * 6' | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Test | |
run: go test -v ./... | |
- name: Format | |
run: | | |
gofmt -w -s . | |
git diff --exit-code | |
- name: Vet | |
run: go vet ./... | |
- name: Lint | |
run: | | |
go install honnef.co/go/tools/cmd/[email protected] | |
staticcheck -f stylish ./... |