Skip to content

Scripts for transactions/logs API #887

Scripts for transactions/logs API

Scripts for transactions/logs API #887

Workflow file for this run

name: Lint
on:
pull_request:
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
- uses: actions/cache@v3
name: Configure npm caching
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/lint.yml') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Run prettier
run: |-
npx prettier@2.8 --check .
ktlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run ktlint
run: |
cd nfts/mobile/android/
./gradlew ktlintCheck