diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7db9fb..cdfbf12 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,5 +22,14 @@ jobs: uses: actions/setup-java@v1 with: java-version: 1.8 + - name: Cache local Maven repository + uses: actions/cache@v2.1.3 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- - name: Build with Maven - run: mvn -V -ntp clean verify --file pom.xml '-Djenkins.test.timeout=5000' + env: + BROWSER: chrome-container + run: mvn -V -ntp clean verify --file pom.xml '-Djenkins.test.timeout=5000' '-Dgpg.skip'