feat: Add GitHub Actions workflow for pushing development Docker images #18
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: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: Check formatting, tidy, and vet | |
| run: make check | |
| - name: Build all binaries | |
| run: make build | |
| - name: Run unit tests | |
| run: go test -race -count=1 ./internal/... | |
| - name: Run integration tests | |
| run: make test-integration |