diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2675bc5..091eb43 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: 'recursive' - name: Setup diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index ee7bb58..c7182ae 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -12,11 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup run: | curl -L https://git.io/misspell | bash - name: Spell Check run: | find . -type f | grep -v vmlinux.h | xargs ./bin/misspell - diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3626191..f1b5266 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,14 +1,3 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# name: "CodeQL" on: @@ -41,6 +30,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + submodules: 'recursive' # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL @@ -57,18 +48,20 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 - + # - name: Autobuild + # uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun # If the Autobuild fails above, remove it and uncomment the following three lines. # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh + - name: Build + run: | + sudo apt-get install -y make clang llvm libelf-dev + cd bpf-apps + make libbpf + make - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2