chore: Update minimum Python version #215
Workflow file for this run
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
# This workflow runs automatic code style checks. | |
# We need a workflow name to be able to schedule it from Github UI | |
name: style | |
on: | |
# Triggers the workflow on push to main | |
push: | |
branches: | |
- main | |
# Triggers the workflow on any PR | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
# The job ID has to match repo settings for PR required checks | |
style: | |
runs-on: ubuntu-latest | |
# Run jobs for a couple of Python versions. | |
strategy: | |
matrix: | |
python: ["3.9", "3.10", "3.11"] | |
name: Style - Python ${{ matrix.python }} | |
steps: | |
- uses: actions/checkout@v2 | |
# ------------------------------------------------------------------------ | |
# Loads private SSH key to the SSH agent. Allows to install dependencies | |
# from private git repos, but requires setting `secrets.SSH_PRIVATE_KEY` | |
# in repo settings. | |
# ------------------------------------------------------------------------ | |
# - uses: ./subtrees/z_quantum_actions/actions/ssh_setup | |
# with: | |
# ssh_key: ${{ secrets.SSH_PRIVATE_KEY }} | |
# Installs project, checks codestyle | |
- uses: ./subtrees/z_quantum_actions/actions/style |