mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 19:55:48 +00:00
Merge branch 'MoreTalismans' of https://github.com/svr333/Slimefun4 into MoreTalismans
This commit is contained in:
commit
bbf5236bd6
30
.github/workflows/imports-fix.yml
vendored
30
.github/workflows/imports-fix.yml
vendored
@ -1,30 +0,0 @@
|
|||||||
name: Clean up Imports
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
paths:
|
|
||||||
- 'src/main/java/**'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
name: Clean up Imports
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: github.event.pull_request.base.repo.full_name == 'Slimefun/Slimefun4'
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v2.3.3
|
|
||||||
- name: Set up JDK 1.8
|
|
||||||
uses: actions/setup-java@v1.4.3
|
|
||||||
with:
|
|
||||||
java-version: 11
|
|
||||||
- name: Clean up Imports
|
|
||||||
uses: axel-op/googlejavaformat-action@v3.3.2
|
|
||||||
with:
|
|
||||||
files: '**/*.java'
|
|
||||||
skipCommit: false
|
|
||||||
args: "--fix-imports-only --replace"
|
|
||||||
githubToken: ${{ secrets.ACCESS_TOKEN }}
|
|
Loading…
Reference in New Issue
Block a user