Update Item.java #15
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: Java CI | |
on: | |
push: | |
branches: [master, main] | |
pull_request: | |
branches: [master, main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 15 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '15' | |
distribution: 'adopt' | |
- name: Lint Code Base | |
uses: github/super-linter/slim@v4 | |
env: | |
DEFAULT_BRANCH: master | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
JAVA_FILE_NAME: checkstyle.xml | |
- name: Test with Maven | |
run: mvn --batch-mode --update-snapshots package |