Skip to content

Commit 83b1c36

Browse files
committed
try upgrading python-actions and using steps....output
1 parent 7c66066 commit 83b1c36

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/PR.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ jobs:
2121
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222
- name: Set up Python
2323
id: setup-python
24-
uses: ni/python-actions/setup-python@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1
24+
uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0
2525
- name: Set up Poetry
26-
uses: ni/python-actions/setup-poetry@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1
26+
uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0
2727
- name: Check for lock changes
2828
run: |
2929
poetry lock --check
3030
- name: Cache virtualenv
3131
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
3232
with:
3333
path: .venv
34-
key: nps-${{ runner.os }}-py${{ env.pythonVersion }}-${{ hashFiles('poetry.lock') }}
34+
key: nps-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}
3535
- name: Install the Package
3636
run: poetry install -vvv
3737
- name: Lint the Code
@@ -48,14 +48,14 @@ jobs:
4848
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4949
- name: Set up Python
5050
id: setup-python
51-
uses: ni/python-actions/setup-python@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1
51+
uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0
5252
- name: Set up Poetry
53-
uses: ni/python-actions/setup-poetry@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1
53+
uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0
5454
- name: Cache virtualenv
5555
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
5656
with:
5757
path: .venv
58-
key: nps-${{ runner.os }}-py${{ env.pythonVersion }}-${{ hashFiles('poetry.lock') }}
58+
key: nps-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}
5959
- name: Install the Package
6060
run: poetry install
6161
- name: Run tests

0 commit comments

Comments
 (0)