FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib/.github/workflows/codeql-analysis.yml at v3.7.x · matplotlib/matplotlib · GitHub
matplotlib
matplotlib
Repository navigation
Code
Issues
1.1k
(1.1k)
Pull requests
425
(425)
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib
/
.github
/
workflows
/
codeql-analysis.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
62 lines (54 loc) · 1.7 KB
Breadcrumbs
matplotlib
/
.github
/
workflows
/
codeql-analysis.yml
Copy path
File metadata and controls
62 lines (54 loc) · 1.7 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
56
57
58
59
60
61
62
---
name
:
"
CodeQL
"
on
:
push
:
branches
:
[main, v*.x]
pull_request
:
#
The branches below must be a subset of the branches above
branches
:
[main]
schedule
:
-
cron
:
'
45 19 * * 1
'
jobs
:
analyze
:
name
:
Analyze
runs-on
:
ubuntu-latest
permissions
:
actions
:
read
contents
:
read
security-events
:
write
strategy
:
fail-fast
:
false
matrix
:
language
:
['cpp', 'javascript', 'python']
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v3
-
name
:
Set up Python
uses
:
actions/setup-python@v4
if
:
matrix.language != 'javascript'
with
:
python-version
:
'
3.x
'
-
name
:
Install dependencies
if
:
matrix.language != 'javascript'
run
:
|
python -m pip install --upgrade pip setuptools wheel
# TODO: Use pip-tools instead when it supports build-system
# dependencies so we don't need another copy here.
# https://github.com/jazzband/pip-tools/pull/1681
python -m pip install --upgrade \
certifi contourpy cycler fonttools kiwisolver importlib_resources \
numpy packaging pillow pyparsing python-dateutil setuptools-scm \
pybind11
echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV
-
name
:
Initialize CodeQL
uses
:
github/codeql-action/init@v2
with
:
languages
:
${{ matrix.language }}
setup-python-dependencies
:
false
-
name
:
Build compiled code
if
:
matrix.language == 'cpp'
run
:
|
mkdir ~/.cache/matplotlib
$CODEQL_PYTHON setup.py build
-
name
:
Perform CodeQL Analysis
uses
:
github/codeql-action/analyze@v2
Back
|
FazBrowse Home
|
New Git URL