Skip to content

Merge pull request #25 from kubewarden/renovate/actions-checkout-4.x #89

Merge pull request #25 from kubewarden/renovate/actions-checkout-4.x

Merge pull request #25 from kubewarden/renovate/actions-checkout-4.x #89

Workflow file for this run

on:
push:
pull_request:
workflow_call:
name: Continuous integration
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: "1.21"
- run: make test
e2e-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: "1.21"
- uses: kubewarden/github-actions/policy-gh-action-dependencies@v3.1.19
# Required to have a version of kwctl that understand Wasi context aware policies
# To be dropped once policy-gh-action-dependencies installs the right version of
# kwctl
- name: Install kwctl
uses: kubewarden/github-actions/kwctl-installer@v3.1.19
with:
KWCTL_VERSION: "v1.10.0-rc2"
- run: make e2e-tests
golangci:
name: Golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: "1.21"
- name: golangci-lint
uses: golangci/golangci-lint-action@38e1018663fa5173f3968ea0777460d3de38f256 # v5.3.0
with:
version: v1.55.2