Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/avamsi/go-nogo

go-nogo is a one-stop-shop reusable workflow that builds, tests, generates and lints all the Go modules in a repository
https://github.com/avamsi/go-nogo

actions golang workflow

Last synced: 2 months ago
JSON representation

go-nogo is a one-stop-shop reusable workflow that builds, tests, generates and lints all the Go modules in a repository

Awesome Lists containing this project

README

        

```yaml
on: [push, pull_request]
permissions: read-all

jobs:
ci:
uses: avamsi/go-nogo/.github/workflows/ci.yml@main
with:
runs-on: ubuntu-latest
```

Following commands are run on each module in the repo --

- golangci-lint
- (assert nothing changed on) go generate
- (assert nothing changed on) go mod tidy
- go build
- go test (which includes go vet)
- (an order of magnitude less often) go test -race
- (an order of magnitude less often) go test -count=10000

See https://github.com/avamsi/climate/actions/runs/6254356594 for an example run.