Skip to content

chore(deps): update github artifact actions to v4 (major) #231

chore(deps): update github artifact actions to v4 (major)

chore(deps): update github artifact actions to v4 (major) #231

Workflow file for this run

name: Pull Request
on:
pull_request:
branches:
- main
jobs:
kustomize_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
path: repo
- name: kustomize build
run: |
env -C repo/ kustomize build ./kustomize -o ../manifests.yaml
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: manifests-kustomize
path: manifests.yaml
retention-days: 1
kubeconform:
runs-on: ubuntu-latest
needs:
- kustomize_build
strategy:
matrix:
kubernetes-version:
- 1.27.0
fail-fast: false
steps:
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: manifests-kustomize
- uses: docker://ghcr.io/yannh/kubeconform:v0.6.2@sha256:d49b233175b55c18d9a2af5e0b62249c3bc3bdd6161126655b4ad585c4b9b064
with:
entrypoint: '/kubeconform'
args: >-
-strict
-kubernetes-version="${{ matrix.kubernetes-version }}"
-summary manifests.yaml