chore: format sql statements #374
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
name: CI | |
strategy: | |
matrix: | |
platform: [ubuntu-latest] | |
go-version: [1.21.x] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Build | |
run: make build | |
- name: Setup Regtest | |
run: | | |
git clone https://github.com/BoltzExchange/legend-regtest-enviroment.git ~/regtest | |
sudo chmod -R 777 ~/regtest | |
cd ~/regtest | |
chmod +x ./regtest | |
./regtest | |
sudo chmod -R a+rwx . | |
- name: Unit Tests | |
run: make unit | |
- name: Integration Tests | |
run: make integration | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: "latest" |