diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec9e951..6cad524 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ name: Release policy jobs: test: name: run tests and linters - uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-go.yml@v3.1.12 + uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-go.yml@v3.1.14 release: needs: test @@ -22,6 +22,6 @@ jobs: # Required by cosign keyless signing id-token: write - uses: kubewarden/github-actions/.github/workflows/reusable-release-policy-go.yml@v3.1.12 + uses: kubewarden/github-actions/.github/workflows/reusable-release-policy-go.yml@v3.1.14 with: oci-target: ghcr.io/${{ github.repository_owner }}/policies/sysctl-psp diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8ce2483..6ff6640 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,4 +3,4 @@ name: Continuous integration jobs: test: name: run tests and linters - uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-go.yml@v3.1.12 + uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-go.yml@v3.1.14 diff --git a/go.mod b/go.mod index 1854969..0ceebb3 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/deckarep/golang-set/v2 v2.6.0 github.com/francoispqt/onelog v0.0.0-20190306043706-8c2bb31b10a4 github.com/kubewarden/gjson v1.7.2 - github.com/kubewarden/policy-sdk-go v0.5.2 + github.com/kubewarden/policy-sdk-go v0.6.0 github.com/wapc/wapc-guest-tinygo v0.3.3 ) diff --git a/go.sum b/go.sum index 1210598..a02362d 100644 --- a/go.sum +++ b/go.sum @@ -24,6 +24,8 @@ github.com/kubewarden/policy-sdk-go v0.5.1 h1:O2C1NuGtGo5/d7c5iiijV3zheGDfwvBOkp github.com/kubewarden/policy-sdk-go v0.5.1/go.mod h1:C8sUX4FYhbP69cvQfPLmIvAJhVHQyg1qaq9EynOn8a0= github.com/kubewarden/policy-sdk-go v0.5.2 h1:GCIXmqNBVG3ADvoH9L9KkBYHM+Npa2G2HZu2Khsyvt8= github.com/kubewarden/policy-sdk-go v0.5.2/go.mod h1:C8sUX4FYhbP69cvQfPLmIvAJhVHQyg1qaq9EynOn8a0= +github.com/kubewarden/policy-sdk-go v0.6.0 h1:f7RL+hkcjt1g5/4JmUU+itzsdMNs5rFJT7ISJtSAB9g= +github.com/kubewarden/policy-sdk-go v0.6.0/go.mod h1:C8sUX4FYhbP69cvQfPLmIvAJhVHQyg1qaq9EynOn8a0= github.com/kubewarden/strfmt v0.1.3 h1:bb+2rbotioROjCkziSt+hqnHXzOlumN94NxDKdV2kPI= github.com/kubewarden/strfmt v0.1.3/go.mod h1:DXoaaIYwqW1LyyRoMeyxfHUU+VUSTNFdj38juCXfRzs= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= diff --git a/vendor/github.com/kubewarden/policy-sdk-go/protocol/protocol.go b/vendor/github.com/kubewarden/policy-sdk-go/protocol/protocol.go index e3c928b..35ba0f2 100644 --- a/vendor/github.com/kubewarden/policy-sdk-go/protocol/protocol.go +++ b/vendor/github.com/kubewarden/policy-sdk-go/protocol/protocol.go @@ -1,3 +1,6 @@ +//go:build !wasip1 +// +build !wasip1 + package protocol import ( diff --git a/vendor/modules.txt b/vendor/modules.txt index ee3a5e5..81d18a9 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -22,7 +22,7 @@ github.com/kubewarden/k8s-objects/apimachinery/pkg/api/resource github.com/kubewarden/k8s-objects/apimachinery/pkg/apis/meta/v1 github.com/kubewarden/k8s-objects/apimachinery/pkg/runtime/schema github.com/kubewarden/k8s-objects/apimachinery/pkg/util/intstr -# github.com/kubewarden/policy-sdk-go v0.5.2 +# github.com/kubewarden/policy-sdk-go v0.6.0 ## explicit; go 1.20 github.com/kubewarden/policy-sdk-go github.com/kubewarden/policy-sdk-go/constants