Skip to content

Record Weekly Lineups/Transactions (and backfill historical data) #566

Record Weekly Lineups/Transactions (and backfill historical data)

Record Weekly Lineups/Transactions (and backfill historical data) #566

name: Core BotBlitz Validations
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
buildAndTest:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v5.0.0
with:
# The Go version to download (if necessary) and use. Supports semver spec and ranges. Be sure to enclose this option in single quotation marks.
go-version: '1.21.7'
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Check starting Go version
run: go version
- name: Install protoc
run: sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install -y protobuf-compiler
- name: Install golang proto tools
run: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
- name: Install GRPC proto tools
run: go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
- name: Install python grpc tools
run: pip install -r requirements.txt
- name: Check protoc version
run: protoc --version
- name: Build py module
run: make build-py-module
- name: Docker version
run: docker -v
- name: Build docker image
run: make build-docker
- name: Clean generated proto
run: make clean
- name: Generate proto
run: make gen
- name: Test Monorepo
run: make test
# - name: Run Engine
# run: make run-engine