docs(beginner): fix non-rendering code blocks (#85) #298
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.8", "3.9", "3.10"] | |
name: Style - Python ${{ matrix.python }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get orquestra-quantum | |
uses: actions/checkout@v2 | |
with: | |
repository: zapatacomputing/orquestra-quantum | |
path: orquestra-quantum | |
- name: Get orquestra-opt | |
uses: actions/checkout@v2 | |
with: | |
repository: zapatacomputing/orquestra-opt | |
path: orquestra-opt | |
- name: Get orquestra-vqa | |
uses: actions/checkout@v2 | |
with: | |
repository: zapatacomputing/orquestra-vqa | |
path: orquestra-vqa | |
- name: Get orquestra-cirq | |
uses: actions/checkout@v2 | |
with: | |
repository: zapatacomputing/orquestra-cirq | |
path: orquestra-cirq | |
- name: Get orquestra-qiskit | |
uses: actions/checkout@v2 | |
with: | |
repository: zapatacomputing/orquestra-qiskit | |
path: orquestra-qiskit | |
- name: Get orquestra-qulacs | |
uses: actions/checkout@v2 | |
with: | |
repository: zapatacomputing/orquestra-qulacs | |
path: orquestra-qulacs | |
- name: Get orquestra-braket | |
uses: actions/checkout@v2 | |
with: | |
repository: zapatacomputing/orquestra-braket | |
path: orquestra-braket | |
- name: Get orquestra-forest | |
uses: actions/checkout@v2 | |
with: | |
repository: zapatacomputing/orquestra-forest | |
path: orquestra-forest | |
- name: Get orqviz | |
uses: actions/checkout@v2 | |
with: | |
repository: zapatacomputing/orqviz | |
path: orqviz | |
# Installs project, checks codestyle | |
- uses: ./subtrees/z_quantum_actions/actions/style | |
env: | |
ZAPATA_IBMQ_API_TOKEN: ${{ secrets.ZAPATA_IBMQ_API_TOKEN }} |