11#! /bin/bash
22# #===----------------------------------------------------------------------===##
33# #
4+ # # This source file is part of the SwiftAWSLambdaRuntime open source project
5+ # #
6+ # # Copyright (c) 2025 Apple Inc. and the SwiftAWSLambdaRuntime project authors
7+ # # Licensed under Apache License v2.0
8+ # #
9+ # # See LICENSE.txt for license information
10+ # # See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
11+ # #
12+ # # SPDX-License-Identifier: Apache-2.0
13+ # #
14+ # #===----------------------------------------------------------------------===##
15+ # #===----------------------------------------------------------------------===##
16+ # #
417# # This source file is part of the Swift.org open source project
518# #
6- # # Copyright (c) 2025 Apple Inc. and the Swift project authors
19+ # # Copyright (c) 2020 Apple Inc. and the Swift project authors
720# # Licensed under Apache License v2.0 with Runtime Library Exception
821# #
922# # See https://swift.org/LICENSE.txt for license information
@@ -21,7 +34,7 @@ echo "Downloading check-swift-format.sh"
2134curl -s ${CHECK_FORMAT_SCRIPT} > format.sh && chmod u+x format.sh
2235
2336echo " Running check-swift-format.sh"
24- /usr/local/bin/container run --rm -v $( pwd) :/workspace -w /workspace ${SWIFT_IMAGE} bash -clx " ./format.sh"
37+ /usr/local/bin/container run --rm -v " $( pwd) :/workspace" -w /workspace ${SWIFT_IMAGE} bash -clx " ./format.sh"
2538
2639echo " Cleaning up"
2740rm format.sh
@@ -33,7 +46,7 @@ echo "Downloading yamllint.yml"
3346curl -s ${YAML_LINT} > yamllint.yml
3447
3548echo " Running yamllint"
36- /usr/local/bin/container run --rm -v $( pwd) :/workspace -w /workspace ${YAML_IMAGE} bash -clx " apt-get -qq update && apt-get -qq -y install yamllint && yamllint --strict --config-file /workspace/yamllint.yml .github"
49+ /usr/local/bin/container run --rm -v " $( pwd) :/workspace" -w /workspace ${YAML_IMAGE} bash -clx " apt-get -qq update && apt-get -qq -y install yamllint && yamllint --strict --config-file /workspace/yamllint.yml .github"
3750
3851echo " Cleaning up"
3952rm yamllint.yml
0 commit comments