-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Update frpc to use latest frisbee polyglot etc apis (#41)
* Update dependencies Signed-off-by: Alex Sørlie Glomsaas <[email protected]> * Remove debug statement Signed-off-by: Alex Sørlie Glomsaas <[email protected]> * Updated fRPC to use latest Polyglot and Frisbee versions * Upadted dependency versions * Updated generated code to conform to API changes Signed-off-by: Alex Sørlie Glomsaas <[email protected]> * Fix potential newlines in version file breaking code generation Signed-off-by: Alex Sørlie Glomsaas <[email protected]> * Bump required go version to 1.20 Signed-off-by: Alex Sørlie Glomsaas <[email protected]> * Ensure required go version is passed as string because yaml is dumb Signed-off-by: Alex Sørlie Glomsaas <[email protected]> * Update polyglot dependency for v2 structure Signed-off-by: Alex Sørlie Glomsaas <[email protected]> * Tidy go mods Signed-off-by: Alex Sørlie Glomsaas <[email protected]> * Fix go version in workflows Signed-off-by: Alex Sørlie Glomsaas <[email protected]> * Remove accidental debug statement --------- Signed-off-by: Alex Sørlie Glomsaas <[email protected]>
- Loading branch information
1 parent
00d25a9
commit 0797eea
Showing
12 changed files
with
180 additions
and
194 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,19 @@ | ||
name: Lint | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
golang: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up Golang | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.21' | ||
cache: false | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: latest |
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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
module github.com/loopholelabs/frpc-go | ||
|
||
go 1.18 | ||
go 1.21.4 | ||
|
||
require ( | ||
github.com/loopholelabs/frisbee-go v0.7.2 | ||
github.com/loopholelabs/polyglot v1.1.2 | ||
github.com/loopholelabs/frisbee-go v0.8.0 | ||
github.com/loopholelabs/polyglot v1.3.0 | ||
github.com/loopholelabs/polyglot/v2 v2.0.0 | ||
github.com/loopholelabs/testing v0.2.3 | ||
github.com/rs/zerolog v1.30.0 | ||
github.com/stretchr/testify v1.8.4 | ||
github.com/rs/zerolog v1.32.0 | ||
github.com/stretchr/testify v1.9.0 | ||
go.uber.org/atomic v1.11.0 | ||
google.golang.org/protobuf v1.31.0 | ||
google.golang.org/protobuf v1.33.0 | ||
) | ||
|
||
require ( | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/loopholelabs/common v0.4.9 // indirect | ||
github.com/mattn/go-colorable v0.1.12 // indirect | ||
github.com/mattn/go-isatty v0.0.14 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect | ||
golang.org/x/sys v0.19.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
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 |
---|---|---|
@@ -1 +1 @@ | ||
v0.7.3 | ||
v0.8.0 |
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.