Bump org.jetbrains:annotations from 24.1.0 to 26.0.1 #62
Workflow file for this run
This file contains 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: | |
paths: | |
- 'src/**' | |
- 'pom.xml' | |
pull_request_target: | |
paths: | |
- 'src/**' | |
- 'pom.xml' | |
jobs: | |
lint: | |
name: Lint files with Checkstyle | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout latest | |
uses: actions/checkout@v4 | |
- name: Run CheckStyle | |
uses: nikitasavinov/checkstyle-action@master | |
with: | |
level: error | |
fail_on_error: true | |
workdir: ./src | |
checkstyle_config: ./checkstyle.xml | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
test: | |
name: Test on ${{ matrix.name }} | |
needs: lint | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
name: Linux | |
- os: macos-latest | |
name: macOS | |
- os: windows-latest | |
name: Windows | |
steps: | |
- name: Checkout latest | |
uses: actions/checkout@v4 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 8 | |
distribution: zulu | |
cache: maven | |
- name: Run Tests | |
run: mvn --batch-mode --update-snapshots verify -"Dgpg.skip" | |
deploy: | |
name: Deploy Snapshot | |
needs: test | |
if: ${{ github.ref == 'refs/heads/master' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout latest | |
uses: actions/checkout@v4 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 8 | |
distribution: zulu | |
cache: maven | |
server-id: ossrh | |
server-username: MAVEN_USERNAME | |
server-password: MAVEN_PASSWORD | |
gpg-private-key: ${{ secrets.GPG_PRIVATEKEY }} | |
- name: Deploy Snapshot | |
run: mvn --batch-mode deploy | |
env: | |
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} | |
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} | |
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} |