feat: add plugin for time #350
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: Tests | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| go: | |
| - "1.18" | |
| - "1.19" | |
| - "1.20" | |
| - "1.21" | |
| - "1.22" | |
| - "1.23" | |
| - "1.24" | |
| - "1.25" | |
| - "1.x" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: Prepare enterprise license for CI | |
| run: | | |
| cp ee/fixtures/license/private.ci.key ee/pkg/license/private.key | |
| cp ee/fixtures/license/public.ci.key ee/pkg/license/public.key | |
| - name: Build | |
| run: make build | |
| - name: Test | |
| run: | | |
| make test || make test | |
| - name: Test coverage | |
| run: make coverage | |
| if: matrix.go == '1.18' | |
| - name: Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| flags: unittests | |
| verbose: true | |
| if: matrix.go == '1.18' |