Skip to content

fix: Make server config for each exchange #66

fix: Make server config for each exchange

fix: Make server config for each exchange #66

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
- release/**
jobs:
cleanup-runs:
runs-on: ubuntu-latest
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"
test:
runs-on: ubuntu-latest
env:
GOPRIVATE: github.com/ojo-network/indexer
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: '1.20'
cache: true
- run: git config --global url.https://[email protected]/.insteadOf https://github.com/
- name: Test
if: env.GIT_DIFF
run: |
make test-unit