diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..aeac447 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven +name: Java CI with Maven +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml \ No newline at end of file diff --git a/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java b/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java index 15b5d72..b85610a 100644 --- a/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java +++ b/src/main/java/com/pgr301/exam/ReallyShakyBankingCoreSystemService.java @@ -23,6 +23,9 @@ @Component class ReallyShakyBankingCoreSystemService implements BankingCoreSystmeService { + + this will cresh + private Map theBank = new HashMap(); @Override diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..9a17374 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +wow \ No newline at end of file