-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
249 additions
and
158 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 |
---|---|---|
|
@@ -14,15 +14,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.20.x | ||
go-version: 1.22.x | ||
|
||
- name: Install Staticcheck | ||
run: go install honnef.co/go/tools/cmd/[email protected].3 | ||
run: go install honnef.co/go/tools/cmd/[email protected].7 | ||
|
||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Lint Go Code | ||
run: staticcheck ./... | ||
|
@@ -33,7 +33,7 @@ jobs: | |
strategy: | ||
fail-fast: true | ||
matrix: | ||
go-version: [1.19.x, 1.20.x, 1.21.x] | ||
go-version: [1.21.x, 1.22.x] | ||
env: | ||
GOPATH: ${{ github.workspace }}/go | ||
GOBIN: ${{ github.workspace }}/go/bin | ||
|
@@ -43,34 +43,34 @@ jobs: | |
working-directory: ${{ env.GOPATH }}/src/github.com/trisacrypto/trisa | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
||
- name: Cache Speedup | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
path: ${{ env.GOPATH }}/src/github.com/trisacrypto/trisa | ||
|
||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v2 | ||
uses: arduino/setup-protoc@v3 | ||
with: | ||
version: '23.x' | ||
version: '27.x' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Install Dependencies | ||
run: | | ||
go version | ||
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.31 | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3 | ||
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2 | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0 | ||
- name: Code Generation | ||
run: go generate ./... | ||
|
@@ -90,34 +90,34 @@ jobs: | |
working-directory: ${{ env.GOPATH }}/src/github.com/trisacrypto/trisa | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: 1.20.x | ||
go-version: 1.22.x | ||
|
||
- name: Cache Speedup | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
path: ${{ env.GOPATH }}/src/github.com/trisacrypto/trisa | ||
|
||
- name: Install Protoc | ||
uses: arduino/setup-protoc@v2 | ||
uses: arduino/setup-protoc@v3 | ||
with: | ||
version: '23.x' | ||
version: '27.x' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Install Dependencies | ||
run: | | ||
go version | ||
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.31 | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3 | ||
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2 | ||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0 | ||
- name: Code Generation | ||
run: go generate ./... | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.