forked from provenance-io/provenance
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provenance 1.18.0 rev bf5275c; mamoru-sniffer-go v0.13.5
- Loading branch information
Showing
24 changed files
with
1,092 additions
and
1,239 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,47 @@ | ||
name: Build Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- 'mamoru*' | ||
- develop | ||
|
||
|
||
pull_request: | ||
branches: | ||
- master | ||
- 'mamoru*' | ||
- develop | ||
|
||
|
||
jobs: | ||
build-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
**/**.go | ||
go.mod | ||
go.sum | ||
.github/workflows/lint.yml | ||
scripts/no-now-lint.sh | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
- uses: golangci/golangci-lint-action@v4 | ||
if: env.GIT_DIFF | ||
with: | ||
# If you change this version, be sure to also change it in contrib/devtools/Makefile. | ||
version: v1.54 | ||
args: --timeout 10m --out-${NO_FUTURE}format colored-line-number | ||
github-token: ${{ secrets.github_token }} | ||
- name: No Now Usage | ||
if: env.GIT_DIFF | ||
run: scripts/no-now-lint.sh | ||
|
||
- name: Build with Makefile | ||
run: | | ||
make build |
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,57 @@ | ||
name: Unit Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- 'mamoru*' | ||
- develop | ||
|
||
pull_request: | ||
branches: | ||
- master | ||
- 'mamoru*' | ||
- develop | ||
|
||
jobs: | ||
unit-test: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.20' | ||
|
||
- run: go version | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
# In order: | ||
# * Module download cache | ||
# * Build cache (Linux) | ||
path: | | ||
~/go/pkg/mod | ||
~/.cache/go-build | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
# - name: Setup SSH for Private Repository Access | ||
# uses: webfactory/[email protected] | ||
# with: | ||
# ssh-private-key: ${{ secrets.MAMORU_ETHERMINT_SSH_PRIVATE_KEY }} | ||
|
||
- name: Unit Test | ||
run: | | ||
make test | ||
Oops, something went wrong.