Skip to content

Commit 9f7a75c

Browse files
committed
Use the PR's version of the GitHub analyze-project action
1 parent 2aeae6c commit 9f7a75c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/actions/test_analyze_project/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
using: composite
1717
steps:
1818
- name: Analyze project
19-
uses: ni/python-actions/analyze-project@v0
19+
uses: ni/python-actions/analyze-project@${{ github.sha }}
2020
id: analyze-project
2121
continue-on-error: ${{ inputs.expect-failure == 'true' }}
2222
with:

.github/workflows/test_actions.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,21 +228,21 @@ jobs:
228228
python-version: ${{ matrix.python-version }}
229229
- name: Set up Poetry
230230
uses: ./setup-poetry
231-
- name: Analyze Valid Minimal
231+
- name: Analyze valid minimal project
232232
uses: ./.github/actions/test_analyze_project
233233
with:
234234
project-directory: ${{ github.workspace }}/.github/test_projects/minimal
235-
- name: Analyze ni-python-styleguide Errors Project
235+
- name: Analyze ni-python-styleguide-errors project
236236
uses: ./.github/actions/test_analyze_project
237237
with:
238238
project-directory: ${{ github.workspace }}/.github/test_projects/ni-python-styleguide-errors
239239
expect-failure: 'true'
240-
- name: Analyze mypy-errors Project
240+
- name: Analyze mypy-errors project
241241
uses: ./.github/actions/test_analyze_project
242242
with:
243243
project-directory: ${{ github.workspace }}/.github/test_projects/mypy-errors
244244
expect-failure: 'true'
245-
- name: Analyze pyright-errors Project
245+
- name: Analyze pyright-errors project
246246
uses: ./.github/actions/test_analyze_project
247247
with:
248248
project-directory: ${{ github.workspace }}/.github/test_projects/pyright-errors

0 commit comments

Comments
 (0)