FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeql/.github/workflows/cpp-swift-analysis.yml at codeql-cli-2.19.2 · github/codeql · GitHub
github
/
codeql
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
10.1k
Code
Issues
1k
Pull requests
468
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
codeql
/
.github
/
workflows
/
cpp-swift-analysis.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
55 lines (46 loc) · 1.44 KB
Breadcrumbs
codeql
/
.github
/
workflows
/
cpp-swift-analysis.yml
Copy path
File metadata and controls
55 lines (46 loc) · 1.44 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name
:
"
Code scanning - C++
"
on
:
push
:
branches
:
-
main
-
'
rc/*
'
pull_request
:
branches
:
-
main
-
'
rc/*
'
paths
:
-
'
swift/**
'
-
'
.github/codeql/**
'
-
'
.github/workflows/cpp-swift-analysis.yml
'
schedule
:
-
cron
:
'
0 9 * * 1
'
jobs
:
CodeQL-Build
:
runs-on
:
ubuntu-latest
permissions
:
contents
:
read
security-events
:
write
pull-requests
:
read
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v4
#
Initializes the CodeQL tools for scanning.
-
name
:
Initialize CodeQL
uses
:
github/codeql-action/init@main
#
Override language selection by uncommenting this and choosing your languages
with
:
languages
:
cpp
config-file
:
./.github/codeql/codeql-config.yml
-
name
:
"
[Ubuntu] Remove GCC 13 from runner image
"
shell
:
bash
run
:
|
sudo rm -f /etc/apt/sources.list.d/ubuntu-toolchain-r-ubuntu-test-jammy.list
sudo apt-get update
sudo apt-get install -y --allow-downgrades libc6=2.35-* libc6-dev=2.35-* libstdc++6=12.3.0-* libgcc-s1=12.3.0-*
-
name
:
"
Build Swift extractor using Bazel
"
run
:
|
bazel clean --expunge
bazel run //swift:create-extractor-pack --nouse_action_cache --noremote_accept_cached --noremote_upload_local_results --spawn_strategy=local
bazel shutdown
-
name
:
Perform CodeQL Analysis
uses
:
github/codeql-action/analyze@main
Back
|
FazBrowse Home
|
New Git URL