-
Notifications
You must be signed in to change notification settings - Fork 105
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 upgrade/0.46.13
- Loading branch information
Showing
7 changed files
with
94 additions
and
66 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 |
---|---|---|
|
@@ -18,7 +18,7 @@ on: | |
- ready_for_review | ||
|
||
concurrency: | ||
group: ${{ github.head_ref || github.run_id }} | ||
group: build-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
|
@@ -30,8 +30,11 @@ env: | |
jobs: | ||
build-and-test-single-arch: | ||
runs-on: ubuntu-latest | ||
# runs-on: ["zeta-runners"] | ||
timeout-minutes: 20 | ||
if: (! startsWith(github.ref, 'refs/tags/')) || (! startsWith(github.ref, 'refs/heads/develop') ) | ||
concurrency: | ||
group: "build-and-test-single-arch" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
|
@@ -60,12 +63,17 @@ jobs: | |
uses: de-vri-es/[email protected] | ||
with: | ||
credentials: ${{ secrets.PAT_GITHUB_SERVICE_ACCT }} | ||
|
||
- name: Test | ||
run: | | ||
echo "Running Build Tests" | ||
make clean | ||
make test | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 20 | ||
max_attempts: 2 | ||
retry_on: error | ||
command: | | ||
echo "Running Build Tests" | ||
make clean | ||
make test | ||
- name: Build zetacored and zetaclientd | ||
env: | ||
|
@@ -136,10 +144,15 @@ jobs: | |
# ${{ matrix.runs-on }}-go- | ||
|
||
- name: Test | ||
run: | | ||
echo "Running Build Tests" | ||
make clean | ||
make test | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 20 | ||
max_attempts: 2 | ||
retry_on: error | ||
command: | | ||
echo "Running Build Tests" | ||
make clean | ||
make test | ||
- name: Build zetacored and zetaclientd | ||
env: | ||
|
@@ -227,13 +240,25 @@ jobs: | |
with: | ||
credentials: ${{ secrets.PAT_GITHUB_SERVICE_ACCT }} | ||
|
||
# - name: Test | ||
# shell: alpine.sh --root {0} | ||
# run: | | ||
# echo "Running Build Tests" | ||
# apk add --no-cache --update | ||
# make clean | ||
# make test | ||
|
||
- name: Test | ||
shell: alpine.sh --root {0} | ||
run: | | ||
echo "Running Build Tests" | ||
apk add --no-cache --update | ||
make clean | ||
make test | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 20 | ||
max_attempts: 2 | ||
retry_on: error | ||
shell: alpine.sh --root {0} | ||
command: | | ||
echo "Running Build Tests" | ||
make clean | ||
make test | ||
- name: Build zetacored and zetaclientd | ||
env: | ||
|
@@ -247,8 +272,6 @@ jobs: | |
make install-testnet | ||
cp "$HOME"/go/bin/* ./ | ||
- name: Binary Docker Test | ||
env: | ||
CPU_ARCH: ${{ env.CPU_ARCH }} | ||
|
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 |
---|---|---|
|
@@ -7,10 +7,15 @@ on: | |
|
||
env: | ||
GOPRIVATE: github.com/zeta-chain/* | ||
|
||
|
||
concurrency: | ||
group: linters-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
|
||
env: | ||
GO111MODULE: on | ||
|
@@ -32,6 +37,9 @@ jobs: | |
go-version: 1.19 | ||
|
||
- name: Run golangci-lint | ||
uses: golangci/[email protected] | ||
uses: golangci/golangci-lint-action@v3 | ||
|
||
with: | ||
version: v1.50 | ||
skip-cache: false | ||
|
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