Skip to content

chore: change import path to v4 #612

chore: change import path to v4

chore: change import path to v4 #612

Workflow file for this run

name: Unit Tests
on:
pull_request:
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ^1.21
- name: CCTP private repo auth
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_CIRCLE }}" | base64 -d > ~/.ssh/id_ed25519_circle
echo "${{ secrets.SSH_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519_noble
chmod 600 ~/.ssh/id_ed25519_circle
chmod 600 ~/.ssh/id_ed25519_noble
ssh-keyscan github.com >> ~/.ssh/known_hosts
export GOPRIVATE=github.com/circlefin/noble-cctp,github.com/noble-assets/cctp
git config --global --add url."[email protected]:circlefin/noble-cctp.git".insteadOf "https://github.com/circlefin/noble-cctp"
git config --global --add url."[email protected]:noble-assets/cctp.git".insteadOf "https://github.com/noble-assets/cctp"
- name: Run Unit Tests
run: go test -v ./...