mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-05 13:08:48 +07:00
e59426fb03
* City Overview reorg - adding a Column should get easier * City Overview reorg - patch * City Overview reorg - SortableGrid Widget * SortableGrid Widget - cleanup * Generalize equalizeColumns * SortableGrid framework - cleaner v2 * Revert file rename to facilitate merge * Post-merge missed change * SortableGrid merge fix * Resolve wildcard import * Post-merge fix: showOneTimeNotification * Post-merge fixes * Post-merge cleanup * More Post-merge cleanup * Fix sort (bug symptom: dependence on column click order) * Tooltip update to "fix" icons if hideIcons=false * Allow hideIcons control for grid header Tooltip * Lint String.tr() Kdoc * Move getComparator() default implementation to interface * Nicer getComparator() implementations, better sorting for WLTK column * Fix "Tooltip update to "fix" icons" reverting tooltip color * Suppress detekt false positives * Fix merge error
39 lines
741 B
YAML
39 lines
741 B
YAML
name: Detekt
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
detekt:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up JDK
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
java-version: '11'
|
|
distribution: 'adopt'
|
|
|
|
- name: Setup Detekt
|
|
id: setup_detekt
|
|
uses: peter-murray/setup-detekt@v2
|
|
with:
|
|
detekt_version: '1.23.1'
|
|
|
|
- name: Detekt errors
|
|
run: detekt-cli --parallel --config detekt/config/detekt-errors.yml
|
|
|
|
- name: Detekt warnings
|
|
run: detekt-cli --parallel --config detekt/config/detekt-warnings.yml
|