Skip to content

Update ci

Update ci #22

Workflow file for this run

name: detekt
on:
push:
branches:
- develop
pull_request:
branches:
- develop
env:
PLUGIN_VERSION: 1.23.6
PLUGIN_NAME: detekt-formatting-${PLUGIN_VERSION}.jar
PLUGIN_URL: https://github.com/detekt/detekt/releases/download/v${PLUGIN_VERSION}/${PLUGIN_NAME}
jobs:
detekt:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2
- name: "Download detekt-formatting plugin"
run: |
curl -sSL -o config/detekt/${PLUGIN_NAME} ${PLUGIN_URL}
- name: "Run detekt"
uses: natiginfo/action-detekt-all@1.23.6
with:
args: --config config/detekt/detekt.yml -plugins config/detekt/${PLUGIN_NAME}