[facotry] add factoryWithHeight for archive mode #4483
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: ci | |
on: | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pull-requests: read | |
packages: write | |
env: | |
GO111MODULE: on | |
jobs: | |
ci: | |
name: ci flow | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# with: | |
# submodules: recursive | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21.4 | |
cache: false | |
- name: Build Go | |
run: go build ./... | |
- name: Run Test | |
id: unittest | |
shell: bash | |
run: | | |
go install github.com/dave/courtney@latest | |
go mod tidy | |
go vet $(go list ./... | grep -v /vendor/ | grep -v /explorer/idl/ | grep -v /api/idl/) | |
#go get -u github.com/dave/courtney@038390a12707e2d91979d2ca77a71597f4afe400 | |
./go.test.sh | |
#make test | |
go test -run=XXX -bench=. $(go list ./crypto) | |
bash <(curl -s https://codecov.io/bash) | |
- name: Make Minicluster | |
if: github.event.pull_request.merged == true | |
id: minicluster | |
shell: bash | |
run: | | |
make minicluster |