v3.11.4: hard limit tps #67
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: go-iost CI | |
on: | |
pull_request: | |
types: [synchronize, opened, reopened, ready_for_review] | |
push: | |
branches: | |
- master | |
jobs: | |
# Mac_Test: | |
# runs-on: macos-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - run: | | |
# rm -rf /usr/local/bin/go | |
# rm -rf /usr/local/bin/gofmt | |
# brew install [email protected] | |
# go version | |
# brew install golangci-lint | |
# brew upgrade golangci-lint | |
# go mod vendor | |
# HOMEBREW_NO_AUTO_UPDATE=1 brew install git-lfs | |
# curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.37.0 | |
# git lfs pull | |
# make vmlib_install | |
# make build | |
# PATH=$HOME/bin:$PATH make lint | |
# make test | |
# Docker_Test: | |
# runs-on: ubuntu-18.04 | |
# steps: | |
# - uses: actions/checkout@v2 | |
# | |
# - name: Set up Go | |
# uses: actions/setup-go@v3 | |
# with: | |
# go-version: 1.18 | |
# | |
# - run: | | |
# go mod vendor | |
# docker pull iostio/iost-dev:3.7.1 | |
# echo ${{ secrets.DOCKERHUBPWD }} | docker login --username ${{ secrets.DOCKERHUBID }} --password-stdin | |
# git lfs pull | |
# make docker_build | |
# make docker_lint | |
# make docker_test | |
# | |
# E2E_Test: | |
# runs-on: ubuntu-18.04 | |
# steps: | |
# - uses: actions/checkout@v2 | |
# | |
# - name: Set up Go | |
# uses: actions/setup-go@v3 | |
# with: | |
# go-version: 1.18 | |
# | |
# - run: | | |
# go mod vendor | |
# docker pull iostio/iost-dev:3.7.1 | |
# echo ${{ secrets.DOCKERHUBPWD }} | docker login --username ${{ secrets.DOCKERHUBID }} --password-stdin | |
# git lfs pull | |
# make e2e_test | |
E2E_Test_Local: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- run: | | |
git lfs pull | |
make e2e_test_local | |
Linux_Test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- run: | | |
git lfs pull | |
make vmlib_install | |
make build | |
GOBIN=/usr/local/bin/ make lint-tool | |
golangci-lint version | |
PATH=/usr/local/bin/:$PATH make lint | |
make test |