From 79d3f32d6271879fab0bb3aa2c299e8a507fc9e3 Mon Sep 17 00:00:00 2001 From: Kirtana Ashok Date: Tue, 29 Oct 2024 10:31:55 -0700 Subject: [PATCH] Update go to 1.22 Signed-off-by: Kirtana Ashok --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- go.mod | 2 +- test/go.mod | 2 +- .../opa/loader/internal/embedtest/bar/bar.rego | 3 --- .../opa/loader/internal/embedtest/bar/bar.yaml | 1 - .../opa/loader/internal/embedtest/baz/qux/qux.json | 1 - .../open-policy-agent/opa/loader/internal/embedtest/foo.json | 1 - 8 files changed, 4 insertions(+), 10 deletions(-) delete mode 100644 vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/bar/bar.rego delete mode 100644 vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/bar/bar.yaml delete mode 100644 vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/baz/qux/qux.json delete mode 100644 vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/foo.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f82a88340..4439cf7708 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: - pull_request env: - GO_VERSION: "1.21.x" + GO_VERSION: "1.22.x" GOTESTSUM_VERSION: "latest" GOTESTCMD: "gotestsum --format standard-verbose --debug --" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a1051dd82..7ef592a927 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: - 'v*' env: - GO_VERSION: "1.21.x" + GO_VERSION: "1.22.x" jobs: build: diff --git a/go.mod b/go.mod index 6896f2639b..e772be2c1d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/Microsoft/hcsshim -go 1.21 +go 1.22 require ( github.com/Microsoft/cosesign1go v1.2.0 diff --git a/test/go.mod b/test/go.mod index 88e16997ad..8895b2b297 100644 --- a/test/go.mod +++ b/test/go.mod @@ -1,6 +1,6 @@ module github.com/Microsoft/hcsshim/test -go 1.21 +go 1.22 require ( github.com/Microsoft/go-winio v0.6.2 diff --git a/vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/bar/bar.rego b/vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/bar/bar.rego deleted file mode 100644 index 08bbfb0ac6..0000000000 --- a/vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/bar/bar.rego +++ /dev/null @@ -1,3 +0,0 @@ -package bar - -p = true { true } diff --git a/vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/bar/bar.yaml b/vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/bar/bar.yaml deleted file mode 100644 index 8baef1b4ab..0000000000 --- a/vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/bar/bar.yaml +++ /dev/null @@ -1 +0,0 @@ -abc diff --git a/vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/baz/qux/qux.json b/vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/baz/qux/qux.json deleted file mode 100644 index 19765bd501..0000000000 --- a/vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/baz/qux/qux.json +++ /dev/null @@ -1 +0,0 @@ -null diff --git a/vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/foo.json b/vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/foo.json deleted file mode 100644 index 3cc0ecbedf..0000000000 --- a/vendor/github.com/open-policy-agent/opa/loader/internal/embedtest/foo.json +++ /dev/null @@ -1 +0,0 @@ -[1,2,3]