feat(deploy): add inputs for pool contract ID and reset pool option i… #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: backend-ci | |
| on: | |
| push: | |
| branches: [main] | |
| # shared/go is consumed through `replace github.com/prova/shared => ../shared/go`, so a change | |
| # there compiles into this module and must re-run vet, build and tests. | |
| paths: ['backend/**', 'shared/go/**', '.github/workflows/backend-ci.yml'] | |
| pull_request: | |
| branches: [main] | |
| paths: ['backend/**', 'shared/go/**', '.github/workflows/backend-ci.yml'] | |
| defaults: | |
| run: | |
| working-directory: backend | |
| jobs: | |
| build: | |
| name: Vet, build & test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: backend/go.mod | |
| cache-dependency-path: backend/go.sum | |
| - run: go vet ./... | |
| - run: go build ./... | |
| - run: go test ./... |