Skip to content

Commit 2715336

Browse files
authored
Merge pull request #270 from qbicsoftware/hotfix/codeql-action
Create codeql-analysis.yml
2 parents de091e8 + f56b849 commit 2715336

File tree

3 files changed

+78
-33
lines changed

3 files changed

+78
-33
lines changed
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL"
13+
14+
on:
15+
push:
16+
branches: [ master, development, patch/*, release/*, hotfix/* ]
17+
pull_request:
18+
# The branches below must be a subset of the branches above
19+
branches: [ master ]
20+
schedule:
21+
- cron: '21 1 * * 4'
22+
23+
jobs:
24+
analyze:
25+
name: Analyze
26+
runs-on: ubuntu-latest
27+
permissions:
28+
actions: read
29+
contents: read
30+
security-events: write
31+
32+
strategy:
33+
fail-fast: false
34+
matrix:
35+
language: [ 'java' ]
36+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37+
# Learn more about CodeQL language support at https://git.io/codeql-language-support
38+
39+
steps:
40+
- name: Checkout repository
41+
uses: actions/checkout@v2
42+
- name: Set up JDK 1.8
43+
uses: actions/setup-java@v1
44+
with:
45+
java-version: 1.8
46+
settings-path: ${{ github.workspace }}
47+
48+
49+
# Initializes the CodeQL tools for scanning.
50+
- name: Initialize CodeQL
51+
uses: github/codeql-action/init@v1
52+
with:
53+
languages: ${{ matrix.language }}
54+
# If you wish to specify custom queries, you can do so here or in a config file.
55+
# By default, queries listed here will override any specified in a config file.
56+
# Prefix the list here with "+" to use these queries and those in the config file.
57+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
58+
59+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
60+
# If this step fails, then you should remove it and run the build manually (see below)
61+
- name: Autobuild
62+
uses: github/codeql-action/autobuild@v1
63+
64+
# ℹ️ Command-line programs to run using the OS shell.
65+
# 📚 https://git.io/JvXDl
66+
67+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
68+
# and modify them (or add more) to build your code if your project
69+
# uses a compiled language
70+
71+
#- run: |
72+
# make bootstrap
73+
# make release
74+
75+
- name: Perform CodeQL Analysis
76+
uses: github/codeql-action/analyze@v1

.github/workflows/sync_project.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
<dependency>
130130
<groupId>com.fasterxml.jackson.core</groupId>
131131
<artifactId>jackson-annotations</artifactId>
132-
<version>2.12.0</version>
132+
<version>2.13.0</version>
133133
<scope>${osgi.scope}</scope>
134134
</dependency>
135135
<!-- https://mvnrepository.com/artifact/javax.validation/validation-api -->
@@ -143,7 +143,7 @@
143143
<dependency>
144144
<groupId>org.spockframework</groupId>
145145
<artifactId>spock-core</artifactId>
146-
<version>1.3-groovy-2.5</version>
146+
<version>2.0-groovy-2.5</version>
147147
<scope>test</scope>
148148
</dependency>
149149
</dependencies>

0 commit comments

Comments
 (0)