fix: Reject leading zeros in ipv4 format octets #116
Workflow file for this run
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: Commit | |
| on: push | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version-file: .java-version | |
| cache: 'maven' | |
| - name: Run tests | |
| uses: extenda/actions/maven@v0 | |
| with: | |
| args: verify | |
| service-account-key: ${{ secrets.SECRET_AUTH }} | |
| - name: Scan with SonarCloud | |
| uses: extenda/actions/sonar-scanner@v0 | |
| with: | |
| sonar-host: https://sonarcloud.io | |
| sonar-scanner: maven | |
| main-branch: master | |
| service-account-key: ${{ secrets.SECRET_AUTH }} | |
| # release: | |
| # if: github.ref == 'refs/heads/master' | |
| # runs-on: ubuntu-latest | |
| # needs: | |
| # - test | |
| # steps: | |
| # - uses: actions/checkout@v6 | |
| # with: | |
| # fetch-depth: 0 | |
| # | |
| # - uses: actions/setup-java@v5 | |
| # with: | |
| # distribution: 'temurin' | |
| # java-version-file: .java-version | |
| # cache: 'maven' | |
| # | |
| # - name: Create release | |
| # uses: extenda/actions/conventional-release@v0 | |
| # id: release | |
| # env: | |
| # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # | |
| # - name: Build release | |
| # uses: extenda/actions/maven@v0 | |
| # with: | |
| # args: deploy -DskipTests | |
| # version: ${{ steps.release.outputs.version }} | |
| # service-account-key: ${{ secrets.SECRET_AUTH }} |