Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kubewarden/github-actions
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.16
Choose a base ref
...
head repository: kubewarden/github-actions
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.17
Choose a head ref
  • 5 commits
  • 12 files changed
  • 3 contributors

Commits on Feb 12, 2024

  1. chore(deps): update golangci/golangci-lint-action action to v4

    renovate[bot] authored Feb 12, 2024
    Copy the full SHA
    5e8fe24 View commit details
  2. Merge pull request #110 from kubewarden/renovate/golangci-golangci-li…

    …nt-action-4.x
    
    chore(deps): update golangci/golangci-lint-action action to v4
    viccuad authored Feb 12, 2024
    Copy the full SHA
    c2bd4f6 View commit details
  3. Be explicit about go version

    The `setup-go` action cannot install the `stable` version of Go
    because tinygo supports only a specific range of Go versions.
    
    Currently, the latest stable release of Go is 1.22. However, latest
    stable version of Tinygo supports only Go >= 1.18 and <=1.21.
    
    Signed-off-by: Flavio Castelli <fcastelli@suse.com>
    flavio committed Feb 12, 2024
    Copy the full SHA
    33c2dfe View commit details
  4. Prepare for 3.1.16 tagging

    ```
    sed --in-place 's/3\.1\.16/3\.1\.17/' $(find . -maxdepth 3 -name "*.yml")
    ````
    
    Signed-off-by: Flavio Castelli <fcastelli@suse.com>
    flavio committed Feb 12, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    318d834 View commit details

Commits on Feb 13, 2024

  1. Merge pull request #111 from flavio/specify-go-version-to-be-installed

    specify go version to be installed
    viccuad authored Feb 13, 2024
    Copy the full SHA
    3a796f1 View commit details
8 changes: 4 additions & 4 deletions .github/workflows/reusable-release-policy-assemblyscript.yml
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ jobs:
steps:
-
name: Install dependencies
uses: kubewarden/github-actions/policy-gh-action-dependencies@v3.1.16
uses: kubewarden/github-actions/policy-gh-action-dependencies@v3.1.17
-
uses: actions/checkout@v4
with:
@@ -37,7 +37,7 @@ jobs:
name: Check that artifacthub-pkg.yml is up-to-date
# skip when releasing :latest from main, versions will not match
if: startsWith(github.ref, 'refs/tags/v') && inputs.artifacthub
uses: kubewarden/github-actions/check-artifacthub@v3.1.16
uses: kubewarden/github-actions/check-artifacthub@v3.1.17
with:
version: ${{ steps.calculate-version.outputs.version }}
-
@@ -68,7 +68,7 @@ jobs:
make e2e-tests
-
name: Release
uses: kubewarden/github-actions/policy-release@v3.1.16
uses: kubewarden/github-actions/policy-release@v3.1.17
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
oci-target: ${{ inputs.oci-target }}
@@ -84,4 +84,4 @@ jobs:
steps:
-
name: Push artifacthub files to artifacthub branch
uses: kubewarden/github-actions/push-artifacthub@v3.1.16
uses: kubewarden/github-actions/push-artifacthub@v3.1.17
10 changes: 5 additions & 5 deletions .github/workflows/reusable-release-policy-go.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ jobs:
steps:
-
name: Install dependencies
uses: kubewarden/github-actions/policy-gh-action-dependencies@v3.1.16
uses: kubewarden/github-actions/policy-gh-action-dependencies@v3.1.17
-
uses: actions/checkout@v4
with:
@@ -35,19 +35,19 @@ jobs:
name: Check that artifacthub-pkg.yml is up-to-date
# skip when releasing :latest from main, versions will not match
if: startsWith(github.ref, 'refs/tags/v') && inputs.artifacthub
uses: kubewarden/github-actions/check-artifacthub@v3.1.16
uses: kubewarden/github-actions/check-artifacthub@v3.1.17
with:
version: ${{ steps.calculate-version.outputs.version }}
-
name: Build and annotate policy
uses: kubewarden/github-actions/policy-build-go@v3.1.16
uses: kubewarden/github-actions/policy-build-go@v3.1.17
-
name: Run e2e tests
run: |
make e2e-tests
-
name: Release
uses: kubewarden/github-actions/policy-release@v3.1.16
uses: kubewarden/github-actions/policy-release@v3.1.17
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
oci-target: ${{ inputs.oci-target }}
@@ -63,4 +63,4 @@ jobs:
steps:
-
name: Push artifacthub files to artifacthub branch
uses: kubewarden/github-actions/push-artifacthub@v3.1.16
uses: kubewarden/github-actions/push-artifacthub@v3.1.17
10 changes: 5 additions & 5 deletions .github/workflows/reusable-release-policy-rego.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ jobs:
steps:
-
name: Install dependencies
uses: kubewarden/github-actions/policy-gh-action-dependencies@v3.1.16
uses: kubewarden/github-actions/policy-gh-action-dependencies@v3.1.17
-
uses: actions/checkout@v4
with:
@@ -35,12 +35,12 @@ jobs:
name: Check that artifacthub-pkg.yml is up-to-date
# skip when releasing :latest from main, versions will not match
if: startsWith(github.ref, 'refs/tags/v') && inputs.artifacthub
uses: kubewarden/github-actions/check-artifacthub@v3.1.16
uses: kubewarden/github-actions/check-artifacthub@v3.1.17
with:
version: ${{ steps.calculate-version.outputs.version }}
-
name: Install opa
uses: kubewarden/github-actions/opa-installer@v3.1.16
uses: kubewarden/github-actions/opa-installer@v3.1.17
-
uses: actions/checkout@v4
-
@@ -57,7 +57,7 @@ jobs:
make e2e-tests
-
name: Release
uses: kubewarden/github-actions/policy-release@v3.1.16
uses: kubewarden/github-actions/policy-release@v3.1.17
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
oci-target: ${{ inputs.oci-target }}
@@ -73,4 +73,4 @@ jobs:
steps:
-
name: Push artifacthub files to artifacthub branch
uses: kubewarden/github-actions/push-artifacthub@v3.1.16
uses: kubewarden/github-actions/push-artifacthub@v3.1.17
10 changes: 5 additions & 5 deletions .github/workflows/reusable-release-policy-rust.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ jobs:
steps:
-
name: Install dependencies
uses: kubewarden/github-actions/policy-gh-action-dependencies@v3.1.16
uses: kubewarden/github-actions/policy-gh-action-dependencies@v3.1.17
-
uses: actions/checkout@v4
with:
@@ -34,19 +34,19 @@ jobs:
name: Check that artifacthub-pkg.yml is up-to-date
# skip when releasing :latest from main, versions will not match
if: startsWith(github.ref, 'refs/tags/v') && inputs.artifacthub
uses: kubewarden/github-actions/check-artifacthub@v3.1.16
uses: kubewarden/github-actions/check-artifacthub@v3.1.17
with:
version: ${{ steps.calculate-version.outputs.version }}
-
name: Build and annotate policy
uses: kubewarden/github-actions/policy-build-rust@v3.1.16
uses: kubewarden/github-actions/policy-build-rust@v3.1.17
-
name: Run e2e tests
run: |
make e2e-tests
-
name: Release
uses: kubewarden/github-actions/policy-release@v3.1.16
uses: kubewarden/github-actions/policy-release@v3.1.17
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
oci-target: ${{ inputs.oci-target }}
@@ -62,4 +62,4 @@ jobs:
steps:
-
name: Push artifacthub files to artifacthub branch
uses: kubewarden/github-actions/push-artifacthub@v3.1.16
uses: kubewarden/github-actions/push-artifacthub@v3.1.17
8 changes: 4 additions & 4 deletions .github/workflows/reusable-release-policy-swift.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ jobs:
steps:
-
name: Install dependencies
uses: kubewarden/github-actions/policy-gh-action-dependencies@v3.1.16
uses: kubewarden/github-actions/policy-gh-action-dependencies@v3.1.17
-
uses: actions/checkout@v4
with:
@@ -35,7 +35,7 @@ jobs:
name: Check that artifacthub-pkg.yml is up-to-date
# skip when releasing :latest from main, versions will not match
if: startsWith(github.ref, 'refs/tags/v') && inputs.artifacthub
uses: kubewarden/github-actions/check-artifacthub@v3.1.16
uses: kubewarden/github-actions/check-artifacthub@v3.1.17
with:
version: ${{ steps.calculate-version.outputs.version }}
-
@@ -67,7 +67,7 @@ jobs:
make e2e-tests
-
name: Release
uses: kubewarden/github-actions/policy-release@v3.1.16
uses: kubewarden/github-actions/policy-release@v3.1.17
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
oci-target: ${{ inputs.oci-target }}
@@ -83,4 +83,4 @@ jobs:
steps:
-
name: Push artifacthub files to artifacthub branch
uses: kubewarden/github-actions/push-artifacthub@v3.1.16
uses: kubewarden/github-actions/push-artifacthub@v3.1.17
4 changes: 2 additions & 2 deletions .github/workflows/reusable-test-policy-assemblyscript.yml
Original file line number Diff line number Diff line change
@@ -41,14 +41,14 @@ jobs:
fetch-depth: 0
-
name: Install kwctl
uses: kubewarden/github-actions/kwctl-installer@v3.1.16
uses: kubewarden/github-actions/kwctl-installer@v3.1.17
-
id: calculate-version
run: echo "version=$(git describe --tags --abbrev=0 | cut -c2-)" >> $GITHUB_OUTPUT
shell: bash
-
name: Check that artifacthub-pkg.yml is up-to-date
uses: kubewarden/github-actions/check-artifacthub@v3.1.16
uses: kubewarden/github-actions/check-artifacthub@v3.1.17
with:
version: ${{ steps.calculate-version.outputs.version }}
check_version: false # must match a git tag that hasn't been created yet, so let's ignore until then
14 changes: 7 additions & 7 deletions .github/workflows/reusable-test-policy-go.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ jobs:
- name: setup Go
uses: actions/setup-go@v5
with:
go-version: "stable"
go-version: "1.21"

- name: run Go unit tests
run: make test
@@ -29,11 +29,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install dependencies
uses: kubewarden/github-actions/policy-gh-action-dependencies@v3.1.16
uses: kubewarden/github-actions/policy-gh-action-dependencies@v3.1.17
- name: Build and annotate policy
with:
generate-sbom: false
uses: kubewarden/github-actions/policy-build-go@v3.1.16
uses: kubewarden/github-actions/policy-build-go@v3.1.17
- name: Run e2e tests
run: make e2e-tests

@@ -42,10 +42,10 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: "stable"
go-version: "1.21"
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: "latest"

@@ -58,12 +58,12 @@ jobs:
# until https://github.com/actions/checkout/pull/579 is released
fetch-depth: 0
- name: Install kwctl
uses: kubewarden/github-actions/kwctl-installer@v3.1.16
uses: kubewarden/github-actions/kwctl-installer@v3.1.17
- id: calculate-version
run: echo "version=$(git describe --tags --abbrev=0 | cut -c2-)" >> $GITHUB_OUTPUT
shell: bash
- name: Check that artifacthub-pkg.yml is up-to-date
uses: kubewarden/github-actions/check-artifacthub@v3.1.16
uses: kubewarden/github-actions/check-artifacthub@v3.1.17
with:
version: ${{ steps.calculate-version.outputs.version }}
check_version: false # must match a git tag that hasn't been created yet, so let's ignore until then
6 changes: 3 additions & 3 deletions .github/workflows/reusable-test-policy-rego.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4
-
name: Install opa
uses: kubewarden/github-actions/opa-installer@v3.1.16
uses: kubewarden/github-actions/opa-installer@v3.1.17
-
name: Run unit tests
run: make test
@@ -33,14 +33,14 @@ jobs:
fetch-depth: 0
-
name: Install kwctl
uses: kubewarden/github-actions/kwctl-installer@v3.1.16
uses: kubewarden/github-actions/kwctl-installer@v3.1.17
-
id: calculate-version
run: echo "version=$(git describe --tags --abbrev=0 | cut -c2-)" >> $GITHUB_OUTPUT
shell: bash
-
name: Check that artifacthub-pkg.yml is up-to-date
uses: kubewarden/github-actions/check-artifacthub@v3.1.16
uses: kubewarden/github-actions/check-artifacthub@v3.1.17
with:
version: ${{ steps.calculate-version.outputs.version }}
check_version: false # must match a git tag that hasn't been created yet, so let's ignore until then
4 changes: 2 additions & 2 deletions .github/workflows/reusable-test-policy-rust.yml
Original file line number Diff line number Diff line change
@@ -37,14 +37,14 @@ jobs:
fetch-depth: 0
-
name: Install kwctl
uses: kubewarden/github-actions/kwctl-installer@v3.1.16
uses: kubewarden/github-actions/kwctl-installer@v3.1.17
-
id: calculate-version
run: echo "version=$(sed -n 's,^version = \"\(.*\)\",\1,p' Cargo.toml)" >> $GITHUB_OUTPUT
shell: bash
-
name: Check that artifacthub-pkg.yml is up-to-date
uses: kubewarden/github-actions/check-artifacthub@v3.1.16
uses: kubewarden/github-actions/check-artifacthub@v3.1.17
with:
version: ${{ steps.calculate-version.outputs.version }}
check:
4 changes: 2 additions & 2 deletions .github/workflows/reusable-test-policy-swift.yml
Original file line number Diff line number Diff line change
@@ -31,14 +31,14 @@ jobs:
fetch-depth: 0
-
name: Install kwctl
uses: kubewarden/github-actions/kwctl-installer@v3.1.16
uses: kubewarden/github-actions/kwctl-installer@v3.1.17
-
id: calculate-version
run: echo "version=$(git describe --tags --abbrev=0 | cut -c2-)" >> $GITHUB_OUTPUT
shell: bash
-
name: Check that artifacthub-pkg.yml is up-to-date
uses: kubewarden/github-actions/check-artifacthub@v3.1.16
uses: kubewarden/github-actions/check-artifacthub@v3.1.17
with:
version: ${{ steps.calculate-version.outputs.version }}
check_version: false # must match a git tag that hasn't been created yet, so let's ignore until then
2 changes: 1 addition & 1 deletion policy-build-go/action.yml
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ runs:
- name: setup Go
uses: actions/setup-go@v5
with:
go-version: "stable"
go-version: "1.21"
- name: Install tinygo
shell: bash
run: |
6 changes: 3 additions & 3 deletions policy-gh-action-dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -9,12 +9,12 @@ runs:
- name: Install cosign
uses: sigstore/cosign-installer@v3
- name: Install kwctl
uses: kubewarden/github-actions/kwctl-installer@v3.1.16
uses: kubewarden/github-actions/kwctl-installer@v3.1.17
- name: Install bats
uses: mig4/setup-bats@v1
with:
bats-version: 1.8.2
- name: Install SBOM generator tool
uses: kubewarden/github-actions/sbom-generator-installer@v3.1.16
uses: kubewarden/github-actions/sbom-generator-installer@v3.1.17
- name: Install SBOM generator tool
uses: kubewarden/github-actions/binaryen-installer@v3.1.16
uses: kubewarden/github-actions/binaryen-installer@v3.1.17