Skip to content

Release 0.8.0.

Release 0.8.0. #86

Workflow file for this run

name: ci
on:
push:
branches: [ develop, main ]
pull_request:
branches: [ develop, main ]
schedule:
# run once per week in case of change of ktfmt URL
- cron: '41 4 * * 0'
workflow_dispatch:
jobs:
desktop:
name: Test ktfmtprecommithook
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Install Python Poetry
run: |
python3 -m pip install poetry
- name: Run pytest tests
run: |
poetry install && poetry run pytest tests
- name: Run pre-commit hooks
run: |
poetry run pre-commit install \
&& poetry run pre-commit run --all-files