go-micro.dev/v5@v5.12.0/.github/workflows/tests.yaml (about) 1 name: Run Tests 2 on: 3 push: 4 branches: 5 - "**" 6 pull_request: 7 types: 8 - opened 9 - reopened 10 branches: 11 - "**" 12 jobs: 13 unittests: 14 name: Unit Tests 15 runs-on: ubuntu-latest 16 steps: 17 - uses: actions/checkout@v3 18 - name: Set up Go 19 uses: actions/setup-go@v3 20 with: 21 go-version: 1.24 22 check-latest: true 23 cache: true 24 - name: Get dependencies 25 run: | 26 go install github.com/kyoh86/richgo@latest 27 go get -v -t -d ./... 28 - name: Run tests 29 id: tests 30 run: richgo test -v -race -cover ./... 31 env: 32 IN_TRAVIS_CI: yes 33 RICHGO_FORCE_COLOR: 1