1
1
#! /bin/bash
2
2
# #===----------------------------------------------------------------------===##
3
3
# #
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
+ # #
4
17
# # This source file is part of the Swift.org open source project
5
18
# #
6
- # # Copyright (c) 2025 Apple Inc. and the Swift project authors
19
+ # # Copyright (c) 2020 Apple Inc. and the Swift project authors
7
20
# # Licensed under Apache License v2.0 with Runtime Library Exception
8
21
# #
9
22
# # See https://swift.org/LICENSE.txt for license information
@@ -21,7 +34,7 @@ echo "Downloading check-swift-format.sh"
21
34
curl -s ${CHECK_FORMAT_SCRIPT} > format.sh && chmod u+x format.sh
22
35
23
36
echo " 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"
25
38
26
39
echo " Cleaning up"
27
40
rm format.sh
@@ -33,7 +46,7 @@ echo "Downloading yamllint.yml"
33
46
curl -s ${YAML_LINT} > yamllint.yml
34
47
35
48
echo " 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"
37
50
38
51
echo " Cleaning up"
39
52
rm yamllint.yml
0 commit comments