chore: change import path to v4 #617
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: 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_NOBLE }}" | base64 -d > ~/.ssh/id_ed25519 | |
chmod 600 ~/.ssh/id_ed25519 | |
ssh-keyscan github.com >> ~/.ssh/known_hosts | |
export GOPRIVATE=github.com/noble-assets/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 ./... |