Skip to content

use a simpler comparison #1177

use a simpler comparison

use a simpler comparison #1177

Workflow file for this run

on: [push]
name: test
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.21.x
- uses: actions/cache@v2
with:
# In order:
# * Module download cache
# * Build cache (Linux)
# * Build cache (Mac)
# * Build cache (Windows)
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
%LocalAppData%\go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install node
uses: actions/setup-node@v1
with:
node-version: '14.x'
- uses: actions/cache@master
id: yarn-cache
with:
path: |
./testutil/chain/node_modules
./testutil/chain/*/*/node_modules
key: ${{ runner.os }}-install-${{ hashFiles('./testutil/chain/**/package.json', './testutil/chain/**/yarn.lock') }}
- name: Yarn install
run: cd ./testutil/chain && yarn install --network-concurrency 1
if: ${{ steps.yarn-cache.outputs.cache-hit != 'true' }}
- name: Boot testchain
run: make start-testchain-verbose &
- name: Test
run: make test