Skip to content

sharmayajush is learning GitHub Actions #6

sharmayajush is learning GitHub Actions

sharmayajush is learning GitHub Actions #6

Workflow file for this run

name: learn-github-actions
run-name: ${{ github.actor }} is learning GitHub Actions
on: [push]
jobs:
check-working:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 'stable'
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: true
- name: Checkout kubearmor repo
uses: actions/checkout@v3
with:
repository: kubearmor/KubeArmor
ref: main
path: Kubearmor
- name: Setup a Kubernetes environment
run: |
./Kubearmor/contribution/k3s/install_k3s.sh
sudo apt install socat
- name: accuknox-install
id: install-accuknox
uses: accuknox/[email protected]
- name: Run accuknox-report
id: report-accuknox
if: steps.install-accuknox.outputs.status == 'success'
uses: accuknox/[email protected]