diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index b0e53dd..831066f 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -20,7 +20,7 @@ jobs: - name: Set up Go 1.19 uses: actions/setup-go@v2 with: - go-version: ^1.19 + go-version: 1.19.0 id: go - name: Check out code into the Go module directory diff --git a/tools/gogs/csharp/gen_test.go b/tools/gogs/csharp/gen_test.go index d47bbe5..89360b0 100644 --- a/tools/gogs/csharp/gen_test.go +++ b/tools/gogs/csharp/gen_test.go @@ -30,6 +30,7 @@ func TestNewGen(t *testing.T) { t.Run(tt.name, func(t *testing.T) { g, err := NewCSharpGen(tt.args.proto, tt.args.onlyCode) g.Home = "test/" + g.debugNoPb = true if (err != nil) != tt.wantErr { t.Errorf("NewGen() error = %v, wantErr %v", err, tt.wantErr) return