Bump me.clip:placeholderapi from 2.11.5 to 2.12.2 (#21) #19
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 Lint | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| name: Checkstyle | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: read | |
| env: | |
| PACKAGES_USER: ${{ secrets.HAUNTEDMC_PACKAGES_USERNAME }} | |
| PACKAGES_TOKEN: ${{ secrets.HAUNTEDMC_PACKAGES_TOKEN }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Validate package token | |
| run: | | |
| if [ -z "$PACKAGES_USER" ]; then | |
| echo "Missing secret HAUNTEDMC_PACKAGES_USERNAME." >&2 | |
| exit 1 | |
| fi | |
| if [ -z "$PACKAGES_TOKEN" ]; then | |
| echo "Missing secret HAUNTEDMC_PACKAGES_TOKEN (requires read:packages)." >&2 | |
| exit 1 | |
| fi | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: "21" | |
| cache: maven | |
| server-id: github | |
| server-username: PACKAGES_USER | |
| server-password: PACKAGES_TOKEN | |
| - name: Run Checkstyle | |
| run: mvn -U -B -ntp -DskipTests checkstyle:check |