forked from cometbft/cometbft
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cometbft#102 from cometbft/sergio/merge-main-into-…
…abci++vef Merge `main` into `feature/abci++vef`
- Loading branch information
Showing
161 changed files
with
3,187 additions
and
2,437 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Manually run the nightly E2E tests for a particular branch, but test with | ||
# multiple versions. | ||
name: e2e-manual-multiversion | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
e2e-manual-multiversion-test: | ||
# Run parallel jobs for the listed testnet groups (must match the | ||
# ./build/generator -g flag) | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
group: ['00', '01', '02', '03', '04'] | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.18' | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Build | ||
working-directory: test/e2e | ||
# Run make jobs in parallel, since we can't run steps in parallel. | ||
run: make -j2 docker generator runner tests | ||
|
||
- name: Generate testnets | ||
working-directory: test/e2e | ||
# When changing -g, also change the matrix groups above | ||
# Generate multi-version tests with double the quantity of E2E nodes | ||
# based on the current branch as compared to the latest version. | ||
run: ./build/generator -g 5 -m "latest:1,local:2" -d networks/nightly/ | ||
|
||
- name: Run ${{ matrix.p2p }} p2p testnets | ||
working-directory: test/e2e | ||
run: ./run-multiple.sh networks/nightly/*-group${{ matrix.group }}-*.toml |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Check for Go vulnerabilities | ||
# Runs https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck to proactively | ||
# check for vulnerabilities in code packages if there were any changes made to | ||
# any Go code or dependencies. | ||
# | ||
# Run `make vulncheck` from the root of the repo to run this workflow locally. | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- release/** | ||
|
||
jobs: | ||
govulncheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.18" | ||
- uses: actions/checkout@v3 | ||
- uses: technote-space/get-diff-action@v6 | ||
with: | ||
PATTERNS: | | ||
**/*.go | ||
go.mod | ||
go.sum | ||
Makefile | ||
- name: govulncheck | ||
run: make vulncheck | ||
if: "env.GIT_DIFF != ''" |
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
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
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
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
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
Oops, something went wrong.