Skip to content

Adding semgrep yaml file #12

Adding semgrep yaml file

Adding semgrep yaml file #12

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Install prerequisites
run: |
sudo ./.github/llvm.sh 13
sudo apt-get -y --no-install-recommends install build-essential qemu-system-x86 python3-pip wget
sudo pip3 install https://github.com/amluto/virtme/archive/beb85146cd91de37ae455eccb6ab67c393e6e290.zip
- name: Build
run: make
- name: Test
run: |
sudo sysctl -w kernel.unprivileged_bpf_disabled=0
make test