mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Swift: fix run cwd
This commit is contained in:
5
.github/workflows/swift.yml
vendored
5
.github/workflows/swift.yml
vendored
@@ -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
|
||||
|
||||
@@ -23,6 +23,6 @@ runs:
|
||||
--check-redefined-labels \
|
||||
--check-use-before-definition \
|
||||
${{ inputs.flags }} \
|
||||
ql/test
|
||||
swift/ql/test
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
|
||||
Reference in New Issue
Block a user