From 28a6cb0483aae22535ec0ae1298d3fe88244f02c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:33:44 +0000 Subject: [PATCH] fix(deps): update all non-major dependencies --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 2 +- go.mod | 2 +- go.sum | 2 ++ vendor/github.com/kubewarden/policy-sdk-go/Makefile | 1 + .../github.com/kubewarden/policy-sdk-go/log_writer_native.go | 4 ++-- .../{log_writer_wasi.go => log_writer_tinygo.go} | 4 ++-- .../github.com/kubewarden/policy-sdk-go/protocol/protocol.go | 4 ++-- vendor/modules.txt | 2 +- 9 files changed, 14 insertions(+), 11 deletions(-) rename vendor/github.com/kubewarden/policy-sdk-go/{log_writer_wasi.go => log_writer_tinygo.go} (91%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c72ac5c..1c3ddf4 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.20 + uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-go.yml@v3.2.0 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.20 + uses: kubewarden/github-actions/.github/workflows/reusable-release-policy-go.yml@v3.2.0 with: oci-target: ghcr.io/${{ github.repository_owner }}/policies/ingress diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 653a3e1..b022697 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.20 + uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-go.yml@v3.2.0 diff --git a/go.mod b/go.mod index 55859cf..d4cb266 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/deckarep/golang-set/v2 v2.6.0 github.com/kubewarden/gjson v1.7.2 github.com/kubewarden/k8s-objects v1.29.0-kw1 - github.com/kubewarden/policy-sdk-go v0.9.1 + github.com/kubewarden/policy-sdk-go v0.11.0 github.com/wapc/wapc-guest-tinygo v0.3.3 ) diff --git a/go.sum b/go.sum index adc4806..14c3e27 100644 --- a/go.sum +++ b/go.sum @@ -35,6 +35,8 @@ github.com/kubewarden/policy-sdk-go v0.9.0 h1:tS9aMtjkUj04WJ0xjO3o0jSGvtj/T8rGr4 github.com/kubewarden/policy-sdk-go v0.9.0/go.mod h1:4Yg/Wpxnt7p4Ps68hBfnK8qoGURM5MJaq67Kjao2smY= github.com/kubewarden/policy-sdk-go v0.9.1 h1:ogO4Eq6/HEiVk0gnX+RNxFV71ICpf56kHjSqVjGtCDE= github.com/kubewarden/policy-sdk-go v0.9.1/go.mod h1:4Yg/Wpxnt7p4Ps68hBfnK8qoGURM5MJaq67Kjao2smY= +github.com/kubewarden/policy-sdk-go v0.11.0 h1:qW2UqARixH2r8KyitSistiAg0Ex0LA+HJr/xaBwiDcg= +github.com/kubewarden/policy-sdk-go v0.11.0/go.mod h1:4Yg/Wpxnt7p4Ps68hBfnK8qoGURM5MJaq67Kjao2smY= 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/Makefile b/vendor/github.com/kubewarden/policy-sdk-go/Makefile index e54516e..417a22f 100644 --- a/vendor/github.com/kubewarden/policy-sdk-go/Makefile +++ b/vendor/github.com/kubewarden/policy-sdk-go/Makefile @@ -15,6 +15,7 @@ lint: deps: go get github.com/golangci/golangci-lint/cmd/golangci-lint + go install github.com/vektra/mockery/v2@v2.43.2 generate-mocks: mockery diff --git a/vendor/github.com/kubewarden/policy-sdk-go/log_writer_native.go b/vendor/github.com/kubewarden/policy-sdk-go/log_writer_native.go index 419276c..8326e1e 100644 --- a/vendor/github.com/kubewarden/policy-sdk-go/log_writer_native.go +++ b/vendor/github.com/kubewarden/policy-sdk-go/log_writer_native.go @@ -1,5 +1,5 @@ -//go:build !wasi -// +build !wasi +//go:build !tinygo +// +build !tinygo // note well: we have to use the tinygo wasi target, because the wasm one is // meant to be used inside of the browser diff --git a/vendor/github.com/kubewarden/policy-sdk-go/log_writer_wasi.go b/vendor/github.com/kubewarden/policy-sdk-go/log_writer_tinygo.go similarity index 91% rename from vendor/github.com/kubewarden/policy-sdk-go/log_writer_wasi.go rename to vendor/github.com/kubewarden/policy-sdk-go/log_writer_tinygo.go index f44f22f..99b82b6 100644 --- a/vendor/github.com/kubewarden/policy-sdk-go/log_writer_wasi.go +++ b/vendor/github.com/kubewarden/policy-sdk-go/log_writer_tinygo.go @@ -1,5 +1,5 @@ -//go:build wasi -// +build wasi +//go:build tinygo +// +build tinygo // note well: we have to use the tinygo wasi target, because the wasm one is // meant to be used inside of the browser 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 35ba0f2..639b88e 100644 --- a/vendor/github.com/kubewarden/policy-sdk-go/protocol/protocol.go +++ b/vendor/github.com/kubewarden/policy-sdk-go/protocol/protocol.go @@ -1,5 +1,5 @@ -//go:build !wasip1 -// +build !wasip1 +//go:build tinygo +// +build tinygo package protocol diff --git a/vendor/modules.txt b/vendor/modules.txt index 024b889..ffdd2c2 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -17,7 +17,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.9.1 +# github.com/kubewarden/policy-sdk-go v0.11.0 ## explicit; go 1.22 github.com/kubewarden/policy-sdk-go github.com/kubewarden/policy-sdk-go/constants