Skip to content

Commit

Permalink
Updated java libraries for spring boot and swagger, and github action (
Browse files Browse the repository at this point in the history
…#96)

* Updated java libraries for spring boot and swagger, and github action
* Updated uploads to make unique artifact due to change in GH action
  • Loading branch information
DovOps authored Jan 23, 2024
1 parent 764c81f commit 9a4af7c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,14 @@ jobs:
--nodePackageSkipDevDependencies
--failOnCVSS 5
--enableRetired
- run: |
echo `echo UPNAME=${{matrix.module-folder}} | tr '/' '-'` >> $GITHUB_ENV
shell: bash
- name: Upload Test results
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Depcheck report
name: Depcheck report ${{ env.UPNAME }}
path: ${{ github.workspace }}/${{ matrix.module-folder }}-reports

dotnet-modules-scan:
Expand Down Expand Up @@ -88,9 +91,9 @@ jobs:
--enableRetired
- name: Upload Test results
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Depcheck report
name: Depcheck report ${{ github.job }} ${{ github.job_workflow_sha}}
path: ${{ github.workspace }}/${{ matrix.module-folder }}-reports

gradle-modules-scan:
Expand Down Expand Up @@ -132,9 +135,9 @@ jobs:
--enableRetired
- name: Upload Test results
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Depcheck report
name: Depcheck report ${{ github.job }} ${{ matrix.module-folder }}
path: ${{ github.workspace }}/${{ matrix.module-folder }}-reports

dockerfile-scan:
Expand Down
2 changes: 1 addition & 1 deletion account-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

plugins {
id 'java'
id 'org.springframework.boot' version '3.2.0'
id 'org.springframework.boot' version '3.2.2'
id 'io.spring.dependency-management' version '1.1.4'
}

Expand Down
2 changes: 1 addition & 1 deletion position-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

plugins {
id 'java'
id 'org.springframework.boot' version '3.2.0'
id 'org.springframework.boot' version '3.2.2'
id 'io.spring.dependency-management' version '1.1.4'
}

Expand Down
4 changes: 2 additions & 2 deletions trade-processor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

plugins {
id 'java'
id 'org.springframework.boot' version '3.2.0'
id 'org.springframework.boot' version '3.2.2'
id 'io.spring.dependency-management' version '1.1.4'
}

Expand Down Expand Up @@ -42,7 +42,7 @@ dependencies {
implementation ('io.socket:socket.io-client:2.1.0'){
exclude group: 'org.json', module: 'json'
}
implementation 'io.swagger.core.v3:swagger-core:2.2.19'
implementation 'io.swagger.core.v3:swagger-core:2.2.20'
implementation 'org.yaml:snakeyaml:2.2'

testImplementation 'org.springframework.boot:spring-boot-starter-test'
Expand Down
6 changes: 3 additions & 3 deletions trade-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

plugins {
id 'java'
id 'org.springframework.boot' version '3.2.0'
id 'org.springframework.boot' version '3.2.2'
id 'io.spring.dependency-management' version '1.1.4'
}

Expand Down Expand Up @@ -44,8 +44,8 @@ dependencies {
exclude group: 'org.json', module: 'json'
}

implementation 'io.swagger.core.v3:swagger-core:2.2.19'
implementation 'io.swagger.core.v3:swagger-annotations:2.2.19'
implementation 'io.swagger.core.v3:swagger-core:2.2.20'
implementation 'io.swagger.core.v3:swagger-annotations:2.2.10'

testImplementation 'org.springframework.boot:spring-boot-starter-test'

Expand Down

0 comments on commit 9a4af7c

Please sign in to comment.