Merge branch 'master' into dependabot/go_modules/v3/go.uber.org/zap-1… #260
This file contains hidden or 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] | |
| jobs: | |
| tests-v3: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| go-version: | |
| [ | |
| "1.13", | |
| "1.14", | |
| "1.15", | |
| "1.16", | |
| "1.17", | |
| "1.18", | |
| "1.19", | |
| "1.20", | |
| "1.21", | |
| "1.22", | |
| ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Go ${{ matrix.go-version }} | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Display Go version | |
| run: go version | |
| - name: Run Unit Tests | |
| run: make tests-v3 | |
| - uses: codecov/codecov-action@v4 | |
| name: Upload Code Coverage | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./v3/work.coverprofile | |
| flags: v3 | |
| fail_ci_if_error: true | |
| verbose: true | |
| tests-v4: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| go-version: ["1.21", "1.22", "1.23"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Go ${{ matrix.go-version }} | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Display Go version | |
| run: go version | |
| - name: Run Unit Tests | |
| run: make tests-v4 | |
| - uses: codecov/codecov-action@v4 | |
| name: Upload Code Coverage | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./v4/work.coverprofile | |
| flags: v4 | |
| fail_ci_if_error: true | |
| verbose: true |