name: Audit on: push: branches: [master] pull_request: branches: [master] schedule: - cron: '55 * * * *' jobs: audit: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Set up Go uses: actions/setup-go@v2 with: go-version: 1.12 - name: Verify dependencies run: go mod verify - name: Build run: go build -v ./... - name: Run tests run: go test -race -vet=off ./...