Skip to content

chore(deps): update github actions (major) #1324

chore(deps): update github actions (major)

chore(deps): update github actions (major) #1324

Workflow file for this run

name: Security Audit
on:
push:
branches: [master, main, release-*]
tags: ['*']
pull_request:
branches: ['**']
env:
golang-version: 1.18.4
helm-version: v3.11.0
kubescape-version: v3.0.17
jobs:
security-audit:
runs-on: ubuntu-latest
name: Analyse kubernetes manifests
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-go@v5
with:
go-version: ${{ env.golang-version }}
- name: Set up Helm
uses: azure/[email protected]
with:
version: ${{ env.helm-version }}
- name: Download chart dependencies
run: |
helm dep up chart/
- name: Download kubescape
run: |
wget https://raw.githubusercontent.com/armosec/kubescape/master/install.sh
chmod +x install.sh
/bin/bash install.sh -v ${{ env.kubescape-version }}
#- name: Download kubescape
# run: curl -s https://raw.githubusercontent.com/armosec/kubescape/master/install.sh | /bin/bash
- run: make --always-make kubescape