mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
32 lines
654 B
YAML
32 lines
654 B
YAML
# Check all projects
|
|
name: 🐘 Gradle | Check All
|
|
|
|
on:
|
|
pull_request:
|
|
types: [ opened, synchronize, reopened ]
|
|
|
|
jobs:
|
|
check_gradle:
|
|
name: 🐘 Check Gradle
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: 🚩 Checkout Repo
|
|
uses: actions/checkout@v4
|
|
|
|
- name: ❓ Ensure Wrapper Permissions
|
|
run: chmod +x ./gradlew
|
|
|
|
- name: ☕ Setup Java
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'temurin'
|
|
|
|
- name: 🐘 Gradle Check
|
|
uses: gradle/gradle-build-action@v2
|
|
env:
|
|
CI: true
|
|
with:
|
|
arguments: "check --scan"
|