Skip to content

Commit e42e6bc

Browse files
committed
Swift fixes
1 parent 83c654c commit e42e6bc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/buildandtest.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ jobs:
8282
8383
sudo apt-get -y install libcurl4-openssl-dev
8484
85+
# Export Swift toolchain path for SwiftLint's SourceKit
86+
SWIFT_PATH=$(dirname $(dirname $(which swift)))
87+
echo "LINUX_SOURCEKIT_LIB_PATH=${SWIFT_PATH}/lib/swift/linux" >> $GITHUB_ENV
88+
8589
- name: Lint
8690
run: |
8791
. "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh"

0 commit comments

Comments
 (0)