github.com/uber-go/tally/v4@v4.1.17/.github/workflows/test.yml (about) 1 name: Test 2 3 on: 4 push: 5 branches: ['*'] 6 tags: ['v*'] 7 pull_request: 8 branches: ['*'] 9 10 jobs: 11 12 test: 13 runs-on: ubuntu-latest 14 strategy: 15 matrix: 16 go: ["stable", "oldstable"] 17 18 steps: 19 - name: Checkout code 20 uses: actions/checkout@v4 21 22 - name: Setup Go 23 uses: actions/setup-go@v5 24 with: 25 go-version: ${{ matrix.go }} 26 27 - name: Lint 28 if: matrix.latest 29 run: make lint 30 31 - name: Test 32 run: make cover 33 34 - name: Upload coverage to codecov.io 35 uses: codecov/codecov-action@v1