-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update plugin to use gRPC (#22)
* refactor: update plugin to use gRPC * chore: update Go and Ignite dependency version * fix: correct port data type * chore: change gitignore to exclude app binaries * refactor: change plugin to support the client API * chore: update dependencies * ci: update workflows to work with Go `v1.21` * chore: remove unused golangci-lint linter * chore: fix linting issues
- Loading branch information
1 parent
eaabb34
commit 0221763
Showing
11 changed files
with
154 additions
and
78 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 |
---|---|---|
|
@@ -12,14 +12,21 @@ jobs: | |
runs-on: ubuntu-latest | ||
timeout-minutes: 6 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
- uses: actions/[email protected] | ||
- uses: technote-space/[email protected] | ||
with: | ||
go-version: 1.19 | ||
- uses: golangci/golangci-lint-action@master | ||
PATTERNS: | | ||
**/*.go | ||
go.mod | ||
go.sum | ||
- uses: actions/setup-go@v4 | ||
if: env.GIT_DIFF | ||
with: | ||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | ||
version: v1.50.1 | ||
go-version: '1.21' | ||
- uses: golangci/golangci-lint-action@v3 | ||
if: env.GIT_DIFF | ||
with: | ||
version: v1.52.1 | ||
install-mode: goinstall | ||
args: --timeout 10m | ||
github-token: ${{ secrets.github_token }} |
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 |
---|---|---|
|
@@ -11,8 +11,16 @@ jobs: | |
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
- uses: actions/checkout@v3.4.0 | ||
- uses: technote-space/[email protected] | ||
with: | ||
go-version: 1.19 | ||
PATTERNS: | | ||
**/*.go | ||
go.mod | ||
go.sum | ||
- uses: actions/setup-go@v4 | ||
if: env.GIT_DIFF | ||
with: | ||
go-version: '1.21' | ||
- run: make test | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
cli-plugin-network | ||
*.app | ||
release/ | ||
build/ | ||
.idea/ | ||
|
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.