fix (#1710)
This commit is contained in:
10
.github/workflows/maven.yaml
vendored
10
.github/workflows/maven.yaml
vendored
@@ -2,9 +2,9 @@ name: github-workflow
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, 3.0.x ]
|
||||
branches: [ main, 3.0.x, 3.1.x ]
|
||||
pull_request:
|
||||
branches: [ main, 3.0.x ]
|
||||
branches: [ main, 3.0.x, 3.1.x ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
- name: setup project jdk-17
|
||||
id: jdk_17
|
||||
uses: ./.github/workflows/composites/setup-jdk17
|
||||
if: env.BASE_BRANCH == 'main' || env.BASE_BRANCH == '3.0.x'
|
||||
if: env.BASE_BRANCH == 'main' || env.BASE_BRANCH == '3.0.x' || env.BASE_BRANCH == '3.1.x'
|
||||
|
||||
- name: cache local maven repository
|
||||
uses: ./.github/workflows/composites/cache
|
||||
@@ -115,7 +115,7 @@ jobs:
|
||||
|
||||
- name: setup project jdk-17
|
||||
uses: ./.github/workflows/composites/setup-jdk17
|
||||
if: env.BASE_BRANCH == 'main' || env.BASE_BRANCH == '3.0.x'
|
||||
if: env.BASE_BRANCH == 'main' || env.BASE_BRANCH == '3.0.x' || env.BASE_BRANCH == '3.1.x'
|
||||
|
||||
- name: pre-test-actions
|
||||
uses: ./.github/workflows/composites/pre-test-actions
|
||||
@@ -159,7 +159,7 @@ jobs:
|
||||
|
||||
- name: setup project jdk-17
|
||||
uses: ./.github/workflows/composites/setup-jdk17
|
||||
if: env.BASE_BRANCH == 'main' || env.BASE_BRANCH == '3.0.x'
|
||||
if: env.BASE_BRANCH == 'main' || env.BASE_BRANCH == '3.0.x' || env.BASE_BRANCH == '3.1.x'
|
||||
|
||||
- name: pre-test-actions
|
||||
uses: ./.github/workflows/composites/pre-test-actions
|
||||
|
||||
@@ -45,7 +45,7 @@ import static org.mockito.Mockito.when;
|
||||
*/
|
||||
class EventBasedConfigurationChangeDetectorTests {
|
||||
|
||||
@SuppressWarnings({ "unchecked", "raw" })
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
@Test
|
||||
void verifyConfigChangesAccountsForBootstrapPropertySources() {
|
||||
MockEnvironment env = new MockEnvironment();
|
||||
|
||||
Reference in New Issue
Block a user