Move proto to common package #93
Workflow file for this run
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: Aggregator CI | |
| on: | |
| push: | |
| paths: | |
| - 'aggregator/**' | |
| pull_request: | |
| paths: | |
| - 'aggregator/**' | |
| defaults: | |
| run: | |
| working-directory: aggregator | |
| jobs: | |
| lint-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5 | |
| with: | |
| go-version-file: aggregator/go.mod | |
| - name: Install just | |
| uses: extractions/setup-just@69d82fb0233557aec017ef13706851d0694e0f1d # v2.0.0 | |
| - name: Install golangci-lint | |
| uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 | |
| with: | |
| version: latest | |
| working-directory: aggregator | |
| args: --help # Just install, don't run yet | |
| - name: Run lint | |
| run: just lint | |
| - name: Run tests | |
| run: just test |