Skip to content

Commit 0fc1f0c

Browse files
Android SDK v3.12.4 | Issue in dependencies download from Maven
1 parent 4c78285 commit 0fc1f0c

File tree

2 files changed

+40
-29
lines changed

2 files changed

+40
-29
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -33,36 +33,36 @@ jobs:
3333
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
3434

3535
steps:
36-
- name: Checkout repository
37-
uses: actions/checkout@v3
36+
- name: Checkout repository
37+
uses: actions/checkout@v3
3838

39-
# Initializes the CodeQL tools for scanning.
40-
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@v2
42-
with:
43-
languages: ${{ matrix.language }}
44-
# If you wish to specify custom queries, you can do so here or in a config file.
45-
# By default, queries listed here will override any specified in a config file.
46-
# Prefix the list here with "+" to use these queries and those in the config file.
47-
48-
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
49-
# queries: security-extended,security-and-quality
39+
# Initializes the CodeQL tools for scanning.
40+
- name: Initialize CodeQL
41+
uses: github/codeql-action/init@v2
42+
with:
43+
languages: ${{ matrix.language }}
44+
# If you wish to specify custom queries, you can do so here or in a config file.
45+
# By default, queries listed here will override any specified in a config file.
46+
# Prefix the list here with "+" to use these queries and those in the config file.
5047

51-
52-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
53-
# If this step fails, then you should remove it and run the build manually (see below)
54-
# - name: Autobuild
55-
# uses: github/codeql-action/autobuild@v2
48+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
49+
# queries: security-extended,security-and-quality
5650

57-
# ℹ️ Command-line programs to run using the OS shell.
58-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
5951

60-
# If the Autobuild fails above, remove it and uncomment the following three lines.
61-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
52+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
53+
# If this step fails, then you should remove it and run the build manually (see below)
54+
- name: Autobuild
55+
uses: github/codeql-action/autobuild@v2
6256

63-
# - run: |
64-
# echo "Run, Build Application using script"
65-
# ./location_of_script_within_repo/buildscript.sh
57+
# ℹ️ Command-line programs to run using the OS shell.
58+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
6659

67-
# - name: Perform CodeQL Analysis
68-
# uses: github/codeql-action/analyze@v2
60+
# If the Autobuild fails above, remove it and uncomment the following three lines.
61+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
62+
63+
# - run: |
64+
# echo "Run, Build Application using script"
65+
# ./location_of_script_within_repo/buildscript.sh
66+
67+
- name: Perform CodeQL Analysis
68+
uses: github/codeql-action/analyze@v2

.github/workflows/sca-scan.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
name: Source Composition Analysis Scan
22
on:
33
pull_request:
4-
types: [opened, synchronize, reopened]
4+
types: [ opened, synchronize, reopened ]
55
jobs:
66
security:
77
runs-on: ubuntu-latest
8+
89
steps:
910
- uses: actions/checkout@master
11+
- name: Generate local.properties
12+
run: echo "sdk.dir=${ANDROID_SDK_ROOT}" > local.properties
13+
- name: cat
14+
run: cat local.properties
15+
- name: pwd
16+
run: pwd
17+
- name: env
18+
run: env
1019
- name: Run Snyk to check for vulnerabilities
11-
uses: snyk/actions/gradle@master
20+
uses: snyk/actions/gradle-jdk14@master
1221
env:
1322
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
1423
with:
1524
args: --fail-on=all
25+
command: test || ls
26+

0 commit comments

Comments
 (0)