Skip to content

Merge pull request #35 from Plex-Engineer/sai/eng-1541-standardize-in… #146

Merge pull request #35 from Plex-Engineer/sai/eng-1541-standardize-in…

Merge pull request #35 from Plex-Engineer/sai/eng-1541-standardize-in… #146

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Build and test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CANTO_MAINNET_RPC_URL: https://mainnode.plexnode.org:8545
PORT: :3000
DB_HOST: redis
DB_PORT: 6379
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...