File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Code scanning - action 2"
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+ schedule :
7
+ - cron : ' 0 12 * * 4'
8
+
9
+ jobs :
10
+ CodeQL-Build :
11
+
12
+ # CodeQL runs on ubuntu-latest and windows-latest
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - name : Install libraries
17
+ run : |
18
+ set -x
19
+ sudo apt-get update -q || :
20
+ sudo apt-get install --no-install-recommends -q -y build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev bison autoconf ruby
21
+
22
+ - name : Checkout repository
23
+ uses : actions/checkout@v2
24
+ with :
25
+ fetch-depth : 2
26
+
27
+ - name : Remove an obsolete rubygems vendored file
28
+ run : sudo rm /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb
29
+
30
+ - name : Initialize CodeQL
31
+ uses : github/codeql-action/init@v1
32
+ with :
33
+ languages : cpp
34
+ config-file : ./.github/codeql/codeql-config.yml
35
+
36
+ - name : Autobuild
37
+ uses : github/codeql-action/autobuild@v1
38
+
39
+ - name : Perform CodeQL Analysis
40
+ uses : github/codeql-action/analyze@v1
You can’t perform that action at this time.
0 commit comments