build:(deps): Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.1 to 3.5.2 #373
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: "Build" | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - '.txt' | |
| - '*.MD' | |
| - '*.md' | |
| - 'LICENSE.txt' | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - '.txt' | |
| - '*.MD' | |
| - '*.md' | |
| - 'LICENSE' | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install libsodium | |
| run: sudo apt-get install -y libsodium-dev | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '11' | |
| - name: Check code formatting | |
| run: | | |
| ./mvnw --no-transfer-progress com.spotify.fmt:fmt-maven-plugin:check | |
| ./mvnw --no-transfer-progress tidy:check | |
| - name: Build | |
| run: ./mvnw --no-transfer-progress clean install | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| - name: SonarCloud Scan | |
| if: ${{ github.actor != 'dependabot[bot]' }} | |
| run: ./mvnw --no-transfer-progress org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar -Dsonar.login=${{ secrets.SONAR_TOKEN }} -Dsonar.projectKey=nbaars_paseto4j -Dsonar.cpd.exclusions=version1/src/main/java/org/paseto4j/version1/CryptoFunctions.java | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |