Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: SonarQube
on:
push:
branches:
- dev
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'zulu' # Alternative distribution options are available.
- name: Cache SonarQube packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build and analyze
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=mtech-software-solutions_SecurityShepherd
43 changes: 0 additions & 43 deletions .github/workflows/dependency-check.yml

This file was deleted.

121 changes: 0 additions & 121 deletions .github/workflows/release.yml

This file was deleted.

105 changes: 0 additions & 105 deletions .github/workflows/test.yml

This file was deleted.

4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<skipTests>false</skipTests>
<skipTests>true</skipTests>
<skipITs>${skipTests}</skipITs>
<skipUTs>${skipTests}</skipUTs>
<sonar.organization>mtech-software-solutions</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>

<dependencies>
Expand Down
17 changes: 16 additions & 1 deletion src/main/webapp/css/theResponsiveCss.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,20 @@
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
}
.sidebarWrapperAlwaysOpen {
width: 200px;
background: #AEACAC;
border-top: 3px solid #A878EF;
border-right: 3px solid #A878EF;
position: absolute;
height: 100%;
border-radius: 2px;
text-decoration: none;
vertical-align: top;
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
}
.sidebarWrapperAlwaysOpen #sidebar {
display: block;
Expand Down Expand Up @@ -87,4 +101,5 @@
float: left;
width: 90%;
}
}

}