forked from 0xPolygon/polygon-edge
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into BLADE-64-Deploy-AA-contracts-on-Blade
- Loading branch information
Showing
264 changed files
with
12,969 additions
and
4,168 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: Benchmark Tests | ||
on: # yamllint disable-line rule:truthy | ||
workflow_call: | ||
outputs: | ||
workflow_output: | ||
description: Benchmark Tests output | ||
value: ${{ jobs.benchmark_test.outputs.test_output_failure }} | ||
|
||
jobs: | ||
benchmark_test: | ||
name: Run Benchmark Tests | ||
runs-on: ubuntu-latest | ||
outputs: | ||
test_output_failure: ${{ steps.run_tests_failure.outputs.test_output }} | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/[email protected] | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | ||
- name: Setup Go | ||
uses: actions/[email protected] | ||
with: | ||
go-version: 1.21.x | ||
- name: Run Go Test | ||
run: make benchmark-test | ||
- name: Run Go Test Failed | ||
if: failure() | ||
id: run_tests_failure | ||
run: echo "test_output=false" >> $GITHUB_OUTPUT | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ on: # yamllint disable-line rule:truthy | |
workflow_call: | ||
outputs: | ||
workflow_output: | ||
description: "Build Blade output" | ||
description: Build Blade output | ||
value: ${{ jobs.go_build.outputs.build_output_failure }} | ||
|
||
jobs: | ||
|
@@ -19,7 +19,7 @@ jobs: | |
- name: Setup Go environment | ||
uses: actions/[email protected] | ||
with: | ||
go-version: 1.20.x | ||
go-version: 1.21.x | ||
- name: Build Blade | ||
run: go build -o blade -tags netgo -ldflags="-s -w -X \"github.com/${GITHUB_REPOSITORY}/versioning.Version=${GITHUB_REF_NAME}\" -X \"github.com/${GITHUB_REPOSITORY}/versioning.Commit=${GITHUB_SHA}\"" && tar -czvf blade.tar.gz blade | ||
env: | ||
|
@@ -29,7 +29,7 @@ jobs: | |
if: failure() | ||
id: blade_build_failure | ||
run: echo "build_output=false" >> $GITHUB_OUTPUT | ||
- name: "Upload Artifact" | ||
- name: Upload Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: blade | ||
|
@@ -45,7 +45,7 @@ jobs: | |
- name: Setup Go environment | ||
uses: actions/[email protected] | ||
with: | ||
go-version: 1.20.x | ||
go-version: 1.21.x | ||
- name: Reproduce builds | ||
continue-on-error: true | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -10,15 +10,14 @@ on: # yamllint disable-line rule:truthy | |
- synchronize | ||
|
||
jobs: | ||
cla-assistant: | ||
cla_assistant: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Check CLA" | ||
- name: Check CLA | ||
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' | ||
uses: contributor-assistant/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# the below token should have repo scope and must be manually added by you in the repository's secret | ||
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
with: | ||
path-to-signatures: "cla.json" | ||
|
Oops, something went wrong.