Skip to content

Commit 716528b

Browse files
committed
make sure the directory is correct
1 parent 97f5498 commit 716528b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/validation.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
cmake-flags: "-DCMAKE_INSTALL_PREFIX=${{ env.REST_PATH }} -DCMAKE_BUILD_TYPE=${{ env.CMAKE_BUILD_TYPE }} -DREST_WELCOME=ON -DRESTLIB_RAW=ON"
4545
branch: ${{ env.BRANCH_NAME }}
4646
- name: Verify pre-commit config files match
47-
run: curl https://raw.githubusercontent.com/rest-for-physics/framework/master/scripts/validatePreCommitConfig.py | sudo python -
47+
run: |
48+
cd $GITHUB_WORKSPACE
49+
curl https://raw.githubusercontent.com/rest-for-physics/framework/master/scripts/validatePreCommitConfig.py | python
4850
- name: Cache framework installation
4951
id: rawlib-install-cache
5052
uses: actions/cache@v3

0 commit comments

Comments
 (0)