fix(swiftlint)

closes #6110
This commit is contained in:
Jacob Heider 2024-05-12 06:19:45 -04:00 committed by Jacob Heider
parent 62aa1fe955
commit 612cd6abbb

View file

@ -23,4 +23,11 @@ build:
mv swiftlint "{{prefix}}/bin"
test:
script: test "$(swiftlint --version)" = {{version}}
# MacOS 11 doesn't have the necessary library
- run: |
if ! test -f /usr/lib/swift/libswift_Concurrency.dylib; then
echo "warning: skipping tests because libswift_Concurrency.dylib is missing"
exit 0
fi
if: darwin
- test "$(swiftlint --version)" = {{version}}