chore(deps): bump github.com/zondax/rosetta-filecoin-lib from 1.3000.1-rc2 to 1.3000.2-rc1 #556
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: rosetta-cli | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: zondax-runners | |
container: | |
image: golang:1.22 | |
options: --tty | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Temporary Global Git Configuration | |
run: | | |
git config --global --add safe.directory /__w/rosetta-filecoin-proxy/rosetta-filecoin-proxy | |
- name: Install dependencies | |
run: apt update && apt install -yy build-essential bzr jq pkg-config mesa-opencl-icd ocl-icd-opencl-dev hwloc libhwloc-dev | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Test | |
run: make test | |
rosetta_cli: | |
name: Rosetta CLI integration tests | |
runs-on: zondax-runners | |
needs: [ build ] | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
# - network: mainnet | |
# url: LOTUS_MAINNET_RPC_URL | |
# - network: devnet | |
# url: LOTUS_DEVNET_RPC_URL | |
- network: calibration | |
url: LOTUS_CALIBRATION_RPC_URL | |
timeout-minutes: 120 | |
steps: | |
- run: sudo apt update && sudo apt install -yy build-essential bzr git jq pkg-config mesa-opencl-icd ocl-icd-opencl-dev hwloc libhwloc-dev curl | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' # The Go version to download (if necessary) and use. | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Temporary Global Git Configuration | |
run: | | |
git config --global --add safe.directory /__w/rosetta-filecoin-proxy/rosetta-filecoin-proxy | |
- run: git submodule update --init --recursive | |
- run: make build_CI | |
- name: Run proxy in background | |
run: ./rosetta-filecoin-proxy& | |
env: | |
LOTUS_RPC_URL: ${{ secrets[matrix.url] }} | |
- run: ./rosetta_cli_test_PR.sh ${{ matrix.network }} | |
working-directory: ./rosetta/tests |