Skip to content

Commit 0587167

Browse files
maximecbXrXr
authored andcommitted
Create codeql-analysis-2.yml
1 parent 5c31449 commit 0587167

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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

0 commit comments

Comments
 (0)