Skip to content

compile_solidity: comment off compileRelease(), which require sloc 0.… #72

compile_solidity: comment off compileRelease(), which require sloc 0.…

compile_solidity: comment off compileRelease(), which require sloc 0.… #72

Workflow file for this run

name: GoTest
on:
push:
branches: [main, dev/2.0]
pull_request:
branches: [main, dev/2.0]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "stable"
- uses: golangci/golangci-lint-action@v6
with:
version: v1.60.1
skip-cache: true
args: --timeout=2m --disable-all --enable=govet --tests=false ./...
- name: npm
uses: actions/setup-node@v4
with:
node-version: 20
- name: solc
run: sudo npm install [email protected] -g
- name: abigen
run: go install github.com/ethereum/go-ethereum/cmd/abigen@latest
- name: compileSolidity
run: solcjs --version && ls && cd test/cmds/ && go run compile_solidity.go && cd ../../
- name: Build
run: |
export GO111MODULE=on
go mod tidy
make qng
- name: Test
run: |
PATH=$PATH:$(pwd)/build/bin
go test -v ./...