From f8265c7134eda879ee2d6729aaeaa1f2a3b48bf7 Mon Sep 17 00:00:00 2001 From: ismisepaul Date: Tue, 15 Mar 2022 17:32:04 +0000 Subject: [PATCH] adding dependabot support --- .github/dependabot.yml | 7 +++++++ .github/workflows/test.yml | 10 ++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..ba48f19f2 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: + - package-ecosystem: maven + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 10 \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4304a3be..99d176066 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Java Build and Test +name: Build and Test on: push: branches: [master, dev] @@ -8,9 +8,8 @@ on: jobs: build: - name: Build Security Shepherd + name: build runs-on: ubuntu-latest - steps: - uses: actions/checkout@v2 - name: Set up JDK 1.8 @@ -21,6 +20,7 @@ jobs: run: mvn clean install -Pdocker -DskipTests -B - name: Docker Compose Build run: docker-compose build + unit-tests: runs-on: ubuntu-latest services: @@ -46,6 +46,7 @@ jobs: sed -i 's/TEST_MYSQL_PORT=3306/TEST_MYSQL_PORT=8888/g' ${GITHUB_WORKSPACE}/.env - name: Run Unit Tests run: mvn test -B -e -X + integration-tests: runs-on: ubuntu-latest services: @@ -76,10 +77,11 @@ jobs: - name: Run Intergration Tests run: | mvn verify -DskipUTs=true -DmongoDocker -B + lint-java: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 # v2 minimum required + - uses: actions/checkout@v2 - uses: axel-op/googlejavaformat-action@v3 with: args: "--set-exit-if-changed"