Skip to content

Commit 7527bfb

Browse files
authored
Merge branch 'microsoft:main' into tlemon/add-copper-mountain-m5065-driver
2 parents ff606ac + 3e2b750 commit 7527bfb

File tree

52 files changed

+3380
-215
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+3380
-215
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ The documentation includes Contributor's guide, so please follow that closely.
1010

1111
Before committing anything, run pre-commit hooks with ```pre-commit run --all```
1212
and make sure they pass, and fix anything that is failing. The pre-commit hooks will ensure
13-
correct formatting of the code and linting as well.
13+
correct formatting of the code and linting as well. The pre-commit hooks are automatically installed
14+
so there is no need to manually install them.
1415

1516
QCoDeS is a typed package, hence all new code should include clear and correct type annotations.
1617

.github/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"devDependencies": {"pyright": "1.1.403"}}
1+
{"devDependencies": {"pyright": "1.1.405"}}

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ jobs:
3939

4040
# Initializes the CodeQL tools for scanning.
4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.5
42+
uses: github/codeql-action/init@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.29.5
4343
with:
4444
languages: ${{ matrix.language }}
4545

4646
- name: Autobuild
47-
uses: github/codeql-action/autobuild@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.5
47+
uses: github/codeql-action/autobuild@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.29.5
4848

4949
- name: Perform CodeQL Analysis
50-
uses: github/codeql-action/analyze@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.5
50+
uses: github/codeql-action/analyze@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.29.5

.github/workflows/copilot-setup-steps.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
git fetch origin main:main
5050
5151
52-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
52+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
5353
with:
5454
python-version: 3.13
5555
cache-dependency-path: |
@@ -69,6 +69,10 @@ jobs:
6969
run: |
7070
pip install pre-commit
7171
72+
- name: install pre-commit hooks
73+
run: |
74+
pre-commit install --install-hooks
75+
7276
- name: Get Pyright Version
7377
id: pyright-version
7478
run: |

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
- name: 'Checkout Repository'
2525
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2626
- name: 'Dependency Review'
27-
uses: actions/dependency-review-action@da24556b548a50705dd671f47852072ea4c105d9 # v4.7.1
27+
uses: actions/dependency-review-action@595b5aeba73380359d98a5e087f648dbb0edce1b # v4.7.3

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
attempt_delay: 1000
7171
if: runner.os == 'Windows'
7272
- name: Set up Python ${{ matrix.python-version }}
73-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
73+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
7474
with:
7575
python-version: ${{ matrix.python-version }}
7676
cache: 'pip'

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ jobs:
2323
egress-policy: audit
2424

2525
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
26-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
26+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
2727
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

.github/workflows/pytest.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
# we need full history with tags for the version number
6161
fetch-depth: '0'
6262
- name: Set up Python ${{ matrix.python-version }}
63-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
63+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
6464
with:
6565
python-version: ${{ matrix.python-version }}
6666
cache: 'pip'
@@ -96,7 +96,7 @@ jobs:
9696
# even if the previous steps fail. This allows users to get feedback
9797
# from both typechecking and tests even if one of them fails.
9898
- name: Run Pyright
99-
uses: jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe # v2.3.2
99+
uses: jakebailey/pyright-action@6cabc0f01c4994be48fd45cd9dbacdd6e1ee6e5e # v2.3.3
100100
with:
101101
version: ${{ steps.pyright-version.outputs.version }}
102102
if: ${{ !matrix.min-version && always() }}
@@ -117,7 +117,7 @@ jobs:
117117
pytest -m "serial" -n 0 --dist no --cov --cov-report xml --cov-append --hypothesis-profile ci $PYTEST_OPT tests
118118
id: serial_tests
119119
- name: Upload coverage to Codecov
120-
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
120+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
121121
with:
122122
files: ./coverage.xml
123123
env_vars: OS,PYTHON

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,6 @@ jobs:
7171

7272
# Upload the results to GitHub's code scanning dashboard.
7373
- name: "Upload to code-scanning"
74-
uses: github/codeql-action/upload-sarif@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.5
74+
uses: github/codeql-action/upload-sarif@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.29.5
7575
with:
7676
sarif_file: results.sarif

.github/workflows/upload_to_pypi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2525
- name: Set up Python
26-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
26+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
2727
with:
2828
python-version: '3.11'
2929
- name: Install build deps
@@ -34,4 +34,4 @@ jobs:
3434
- name: Install Twine
3535
run: pip install twine
3636
- name: Publish to pypi
37-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # release/v1
37+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1

0 commit comments

Comments
 (0)