chore: promote v0.5.0-alpha7 from beta to mainnet #25
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 | |
| # Tests / Code Coverage workflow runs unit tests and uploads a code coverage report. | |
| # This workflow is run on pushes to master & every Pull Requests where a .go, .mod, .sum have been changed. | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| Cleanup-runs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: rokroskar/workflow-run-cleanup-action@master | |
| env: | |
| GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
| if: '!startsWith(github.ref, ''refs/tags/'') && github.ref != ''refs/heads/master''' | |
| Unit-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.23' | |
| - name: Test & Create coverage report | |
| run: make install test-unit stop-docker-test | |
| - name: Upload code coverage | |
| uses: codecov/codecov-action@v6 | |
| with: | |
| files: ./coverage.txt |