Merge pull request #239 from telefonicaid/fix-badges #209
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| 'on': | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| lint-dockerfile: | |
| name: Lint Dockerfile | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v2 | |
| - name: Run Hadolint Dockerfile Linter | |
| uses: burdzwastaken/hadolint-action@master | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| HADOLINT_ACTION_DOCKERFILE_FOLDER: . | |
| unit-test: | |
| name: Unit Tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java-version: | |
| - 11 | |
| - 12 | |
| - 13 | |
| - 14 | |
| - 15 | |
| - 16 | |
| - 17 | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v2 | |
| - name: 'Use Java ${{ matrix.java-version }}' | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: '${{ matrix.java-version }}' | |
| - name: 'Unit Tests with Java ${{ matrix.java-version }}' | |
| run: | | |
| mvn clean test -B | |