diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1c3ddf4..ab85e88 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.2.0 + uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-go.yml@v3.3.2 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.2.0 + uses: kubewarden/github-actions/.github/workflows/reusable-release-policy-go.yml@v3.3.2 with: oci-target: ghcr.io/${{ github.repository_owner }}/policies/ingress diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b022697..b325061 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.2.0 + uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-go.yml@v3.3.2 diff --git a/Makefile b/Makefile index 526c562..52494f7 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ policy.wasm: $(SOURCE_FILES) go.mod go.sum --rm \ -e GOFLAGS="-buildvcs=false" \ -v ${PWD}:/src \ - -w /src tinygo/tinygo:0.28.1 \ + -w /src tinygo/tinygo:0.33.0 \ tinygo build -o policy.wasm -target=wasi -no-debug . artifacthub-pkg.yml: metadata.yml go.mod diff --git a/e2e.bats b/e2e.bats index 4ab9444..d6f320e 100644 --- a/e2e.bats +++ b/e2e.bats @@ -45,7 +45,6 @@ # settings validation fails [ "$status" -eq 1 ] - [ $(expr "$output" : '.*valid.*false') -ne 0 ] } @test "accept" { diff --git a/go.mod b/go.mod index d4cb266..e635a7f 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/kubewarden/ingress-policy go 1.22 -toolchain go1.22.4 +toolchain go1.23.0 require ( github.com/deckarep/golang-set/v2 v2.6.0