Skip to content

Merge pull request #15 from aws/release-1.1.0 #8

Merge pull request #15 from aws/release-1.1.0

Merge pull request #15 from aws/release-1.1.0 #8

name: Python Pre Commit Check CI After Commit
on:
push:
branches:
- main # Triggers on direct pushes to the main branch
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8' # Set python version to 3.8
- name: Install pre-commit dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Run pre-commit checks
run: |
pre-commit run --all-files