[Blockchain Watcher] (RPC - POOL) Improve providers set up #3165
Workflow file for this run
This file contains 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: Go | |
on: | |
pull_request: | |
branches: [ main ] | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21.x | |
- name: Build | |
run: make build | |
- name: Test fly | |
working-directory: ./fly | |
run: make test | |
- name: Test api | |
working-directory: ./api | |
run: make test | |
- name: Test spy | |
working-directory: ./spy | |
run: make test | |
- name: Test parser | |
working-directory: ./parser | |
run: make test | |
- name: Build API swagger | |
working-directory: ./api | |
run: go install github.com/swaggo/swag/cmd/swag@latest && make doc |