Merge pull request #1945 from timbrel/create-github-repo #1047
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
merge_group: | |
jobs: | |
check-messages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: kaste/upgrade-messages-test-action@v1 | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pip install "flake8<6.0.0" | |
- uses: TrueBrain/actions-flake8@v2 | |
mypy: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: ['linux', 'darwin', 'win32'] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install mypy | |
run: | | |
pip install mypy | |
- name: Check with mypy | |
run: | | |
mypy -p GitSavvy --platform=${{ matrix.platform }} | |