Skip to content

chore: update makefile #143

chore: update makefile

chore: update makefile #143

Workflow file for this run

# SPDX-FileCopyrightText: Copyright © 2024 - 2025 Caleb Cushing
#
# SPDX-License-Identifier: CC0-1.0
name: precommit
on: [push, workflow_call]
jobs:
license:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch}}
filter: "blob:none"
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3"
- run: pip install -r requirements.txt
- run: reuse lint
format:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch}}
filter: "blob:none"
fetch-depth: 0
- uses: actions/setup-node@v4
with:
cache: "npm"
- run: npm ci
- run: npx prettier --ignore-unknown --check '**'
format-kotlin:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch}}
filter: "blob:none"
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- uses: asdf-vm/actions/plugins-add@v3
- run: asdf install ktlint
- run: ktlint '*.gradle.kts' '**/*.gradle.kts'