Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2022-04-15 13:18:39 +0300
committerStefan Niedermann <info@niedermann.it>2022-04-15 13:19:24 +0300
commit5a793ccf8c7480e765f8dcee404cedf07df05af5 (patch)
treef33e4cbe96dfa07be0fa356435e384ca1c18e71d /.github
parent0351f987b8196d1082d1a6a11c8ed1a53fa27a9b (diff)
Upgrade AGP to 7.1.3 and move CodeQL analysis to own workflow
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/android.yml15
-rw-r--r--.github/workflows/codeql.yml25
2 files changed, 25 insertions, 15 deletions
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 00f910d8e..8b9f81c44 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -33,21 +33,6 @@ jobs:
- name: Unit tests
run: bash ./gradlew test --stacktrace
- codeql:
- name: CodeQL security scan
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v3
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v1
- with:
- languages: java
- - name: Build debug APK
- run: bash ./gradlew assembleDev
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
-
apk:
name: Generate APK
runs-on: ubuntu-latest
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
new file mode 100644
index 000000000..e37a4d05f
--- /dev/null
+++ b/.github/workflows/codeql.yml
@@ -0,0 +1,25 @@
+name: CodeQL security scan
+
+on:
+ pull_request:
+ schedule:
+ - cron: '0 12 * * *'
+
+permissions:
+ contents: read
+
+jobs:
+ codeql:
+ name: CodeQL security scan
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v1
+ with:
+ languages: java
+ - name: Build debug APK
+ run: bash ./gradlew assembleDev --stacktrace
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v1 \ No newline at end of file