Skip to content

Commit 0266e46

Browse files
committed
Move the action to a more discoverable location, improve isolation
1 parent e5bc267 commit 0266e46

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/actions/apply-coding-standards-configuration/action.yml renamed to apply-configuration/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ runs:
66
using: composite
77
steps:
88
- name: Install Python
9+
id: cs-install-python
910
uses: actions/setup-python@v5
1011
with:
1112
python-version: 3.9
13+
update-environment: false
1214
- name: Install dependencies
1315
shell: bash
14-
run: python -m pip install -r ${GITHUB_ACTION_PATH}/../../../scripts/configuration/requirements.txt
16+
run: ${{ steps.cs-install-python.outputs.python-path }} -m pip install -r ${GITHUB_ACTION_PATH}/../scripts/configuration/requirements.txt
1517
- name: Process files
1618
shell: bash
17-
run: python ${GITHUB_ACTION_PATH}/../../../scripts/configuration/process_coding_standards_config.py
19+
run: ${{ steps.cs-install-python.outputs.python-path }} ${GITHUB_ACTION_PATH}/../scripts/configuration/process_coding_standards_config.py

0 commit comments

Comments
 (0)