This repository was archived by the owner on Mar 22, 2025. It is now read-only.
added some comments and removed emty lines #107
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 and Linters | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| Linters: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.23 | |
| - name: Install dependencies | |
| run: make deps | |
| - name: Run linters | |
| run: make lint | |
| Tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.23 | |
| - name: Install dependencies | |
| run: make deps | |
| - name: Run tests | |
| run: make test | |
| - name: Report stats | |
| run: make analyse | |