Skip to content

Commit

Permalink
Merge pull request #128 from deeglaze/protoup
Browse files Browse the repository at this point in the history
Update protoc github action and regenerate.
  • Loading branch information
deeglaze authored Jul 9, 2024
2 parents 53e17a6 + 88cd40f commit 927b36e
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 41 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Install Protoc
uses: arduino/setup-protoc@v1
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: "3.12.4"
version: "27.2"
- name: Install protoc-gen-go
run: go install google.golang.org/protobuf/cmd/[email protected]
- name: Check Protobuf Generation
Expand Down
5 changes: 5 additions & 0 deletions abi/abi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"bytes"
"encoding/hex"
"math/rand"
"runtime"
"strings"
"testing"

Expand Down Expand Up @@ -216,6 +217,10 @@ func TestSnpPlatformInfo(t *testing.T) {
}

func TestCpuid(t *testing.T) {
// GitHub actions may run on AARCH64
if runtime.GOARCH != "amd64" {
t.Skip()
}
a, b, c, d := cpuid(1)
if (a | b | c | d) == 0 {
t.Errorf("cpuid(1) = 0, 0, 0, 0")
Expand Down
64 changes: 32 additions & 32 deletions proto/check/check.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/fakekds/fakekds.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions proto/sevsnp/sevsnp.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 927b36e

Please sign in to comment.