This repository was archived by the owner on Mar 22, 2025. It is now read-only.
Merge pull request #83 from lmas/dev #199
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: Linters, Spellcheck, and Tests | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| Linters: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 2 | |
| 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 | |
| Spellcheck: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 2 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: crate-ci/[email protected] | |
| Tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 2 | |
| 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 | |