You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2021/02/09 01:48:51 UTC

[incubator-teaclave] branch master updated: Enable CodeQL workflow in Github Actions

This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git


The following commit(s) were added to refs/heads/master by this push:
     new d396000  Enable CodeQL workflow in Github Actions
d396000 is described below

commit d396000cb847a779bbc4099d9b40a23815c59598
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Sun Feb 7 16:09:08 2021 -0800

    Enable CodeQL workflow in Github Actions
---
 .github/workflows/codeql-analysis.yml | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
new file mode 100644
index 0000000..2e6785f
--- /dev/null
+++ b/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,33 @@
+name: "Code scanning"
+
+on:
+  push:
+  pull_request:
+  schedule:
+    - cron: '36 22 * * 3'
+
+jobs:
+  analyze:
+    name: Analyze
+    runs-on: ubuntu-latest
+
+    strategy:
+      fail-fast: false
+      matrix:
+        language: [ 'cpp', 'python' ]
+
+    steps:
+    - name: Checkout repository
+      uses: actions/checkout@v2
+
+    - name: Initialize CodeQL
+      uses: github/codeql-action/init@v1
+      with:
+        languages: ${{ matrix.language }}
+
+    - name: Build C projects
+      run: cd examples/c && make
+      if: matrix.language == 'cpp'
+
+    - name: Perform CodeQL Analysis
+      uses: github/codeql-action/analyze@v1


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org