Skip to content

Commit 1d3f798

Browse files
authored
Merge branch 'TheAlgorithms:master' into master
2 parents ff4b471 + 981d73d commit 1d3f798

File tree

8 files changed

+48
-12
lines changed

8 files changed

+48
-12
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Build
22
on: [push, pull_request]
33

4+
permissions:
5+
contents: read
6+
47
jobs:
58
build:
69
runs-on: ubuntu-latest

.github/workflows/clang-format-lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
push: {}
44
pull_request: {}
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
build:
811
runs-on: ubuntu-latest

.github/workflows/codeql.yml

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,9 @@ on:
1010
schedule:
1111
- cron: '53 3 * * 0'
1212

13-
env:
14-
LANGUAGE: 'java-kotlin'
15-
1613
jobs:
17-
analyze:
18-
name: Analyze
14+
analyzeJava:
15+
name: AnalyzeJava
1916
runs-on: 'ubuntu-latest'
2017
permissions:
2118
actions: read
@@ -35,13 +32,35 @@ jobs:
3532
- name: Initialize CodeQL
3633
uses: github/codeql-action/init@v3
3734
with:
38-
languages: ${{ env.LANGUAGE }}
35+
languages: 'java-kotlin'
3936

4037
- name: Build
4138
run: mvn --batch-mode --update-snapshots verify
4239

4340
- name: Perform CodeQL Analysis
4441
uses: github/codeql-action/analyze@v3
4542
with:
46-
category: "/language:${{env.LANGUAGE}}"
43+
category: "/language:java-kotlin"
44+
45+
analyzeActions:
46+
name: AnalyzeActions
47+
runs-on: 'ubuntu-latest'
48+
permissions:
49+
actions: read
50+
contents: read
51+
security-events: write
52+
53+
steps:
54+
- name: Checkout repository
55+
uses: actions/checkout@v4
56+
57+
- name: Initialize CodeQL
58+
uses: github/codeql-action/init@v3
59+
with:
60+
languages: 'actions'
61+
62+
- name: Perform CodeQL Analysis
63+
uses: github/codeql-action/analyze@v3
64+
with:
65+
category: "/language:actions"
4766
...

.github/workflows/infer.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ name: Infer
88
- master
99
pull_request:
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
run_infer:
1316
runs-on: ubuntu-latest

.github/workflows/project_structure.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ name: ProjectStructure
88
- master
99
pull_request:
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
check_structure:
1316
runs-on: ubuntu-latest

.github/workflows/stale.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ name: 'Close stale issues and PRs'
22
on:
33
schedule:
44
- cron: '0 0 * * *'
5+
permissions:
6+
contents: read
57
jobs:
68
stale:
9+
permissions:
10+
issues: write
11+
pull-requests: write
712
runs-on: ubuntu-latest
813
steps:
914
- uses: actions/stale@v9

.gitpod.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM gitpod/workspace-java-21:2025-05-14-07-50-25
1+
FROM gitpod/workspace-java-21:2025-06-18-16-47-14
22

33
ENV LLVM_SCRIPT="tmp_llvm.sh"
44

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<dependency>
2121
<groupId>org.junit</groupId>
2222
<artifactId>junit-bom</artifactId>
23-
<version>5.13.1</version>
23+
<version>5.13.2</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -113,14 +113,14 @@
113113
<dependency>
114114
<groupId>com.puppycrawl.tools</groupId>
115115
<artifactId>checkstyle</artifactId>
116-
<version>10.25.0</version>
116+
<version>10.26.0</version>
117117
</dependency>
118118
</dependencies>
119119
</plugin>
120120
<plugin>
121121
<groupId>com.github.spotbugs</groupId>
122122
<artifactId>spotbugs-maven-plugin</artifactId>
123-
<version>4.9.3.0</version>
123+
<version>4.9.3.2</version>
124124
<configuration>
125125
<excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
126126
<includeTests>true</includeTests>
@@ -141,7 +141,7 @@
141141
<plugin>
142142
<groupId>org.apache.maven.plugins</groupId>
143143
<artifactId>maven-pmd-plugin</artifactId>
144-
<version>3.26.0</version>
144+
<version>3.27.0</version>
145145
<configuration>
146146
<rulesets>
147147
<ruleset>/rulesets/java/maven-pmd-plugin-default.xml</ruleset>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy