mirror of
https://github.com/fankes/pagecurl-multiplatform.git
synced 2025-09-04 09:45:34 +08:00
Use the correct directory
This commit is contained in:
37
.github/workflows/static-analysis.yml
vendored
Normal file
37
.github/workflows/static-analysis.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
# This is a workflow to verify PRs with static code analysis tools
|
||||
name: Static Analysis
|
||||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
detekt:
|
||||
name: Detekt
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# Runs a single command using the runners shell
|
||||
- name: detekt
|
||||
run: ./gradlew detekt
|
||||
|
||||
spotless:
|
||||
name: Spotless
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# Runs a single command using the runners shell
|
||||
- name: spotless
|
||||
run: ./gradlew spotlessCheck
|
Reference in New Issue
Block a user