Swift: fix run cwd

This commit is contained in:
Paolo Tranquilli
2022-11-02 06:27:09 +01:00
parent 0d9ecfc4de
commit 57a616262f
2 changed files with 2 additions and 5 deletions

View File

@@ -14,9 +14,6 @@ on:
- "!**/*.qhelp"
branches:
- main
defaults:
run:
working-directory: swift
jobs:
changes:
@@ -119,4 +116,4 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/fetch-codeql
- name: Check QL formatting
run: find ql "(" -name "*.ql" -or -name "*.qll" ")" -print0 | xargs -0 codeql query format --check-only
run: find swift/ql "(" -name "*.ql" -or -name "*.qll" ")" -print0 | xargs -0 codeql query format --check-only

View File

@@ -23,6 +23,6 @@ runs:
--check-redefined-labels \
--check-use-before-definition \
${{ inputs.flags }} \
ql/test
swift/ql/test
env:
GITHUB_TOKEN: ${{ github.token }}