fix pickaxes not dropping 2x amethyst shards, fix sword not working on cobwebs #584
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
# Runs formatting requirements | |
name: Java Formatting | |
on: | |
push: | |
branches: | |
- 1.20.1 | |
paths: ['src/main/java/**', 'src/test/**'] | |
pull_request: | |
paths: ['**'] | |
concurrency: | |
group: formatting-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
formatting: | |
name: Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Check Path Filter | |
uses: dorny/paths-filter@v3 | |
id: filter | |
with: | |
filters: | | |
code: | |
- 'src/main/java/**' | |
- 'src/test/**' | |
- name: Setup Build | |
if: steps.filter.outputs.code == 'true' | |
uses: ./.github/actions/build_setup | |
- name: Run Spotless Formatting Check with Gradle | |
if: steps.filter.outputs.code == 'true' | |
run: ./gradlew spotlessCheck --warning-mode all --build-cache |