chore(deps): update github actions (major) #1324
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |