refactor: remove private/public key from commons and use typed keys e… #503
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: | |
| environment: | |
| name: sonarqube | |
| 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 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| - name: Check code formatting | |
| run: | | |
| ./mvnw --no-transfer-progress spotless:check | |
| ./mvnw --no-transfer-progress tidy:check | |
| - name: Build | |
| run: ./mvnw --no-transfer-progress clean install org.sonarsource.scanner.maven:sonar-maven-plugin:5.1.0.4751:sonar -Dsonar.token=${{ secrets.SONAR_TOKEN }} -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=nbaars-github -Dsonar.projectKey=nbaars_paseto4j -Dsonar.cpd.exclusions=version1/src/main/java/org/paseto4j/version1/CryptoFunctions.java |