Skip to content

Update README pre-commit snippet #5

Update README pre-commit snippet

Update README pre-commit snippet #5

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
java-version: [11, 18]
python-version: [3.7, "3.10"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Pre-commit Checks
run: |
pip -q install pre-commit
pre-commit run --all-files