Skip to content

Commit 6bedeac

Browse files
committed
remove dependency on curl
1 parent 15f6410 commit 6bedeac

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/integration_tests.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ jobs:
9292
COMMAND: ${{ inputs.matrix_linux_command }}
9393
EXAMPLE: ${{ matrix.examples }}
9494
run: |
95-
# curl is already installed on Amazon Linux 2
96-
curl -s https://raw.githubusercontent.com/swift-server/swift-aws-lambda-runtime/refs/heads/main/.github/workflows/scripts/integration_tests.sh | bash
95+
.github/workflows/scripts/integration_tests.sh
9796
echo "✅ The examples compile correctly"
9897
9998
test-archive-plugin:
@@ -110,8 +109,7 @@ jobs:
110109
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
111110
- name: Test the archive plugin
112111
run: |
113-
which curl || (apt -q update && apt -yq install curl)
114-
curl -s https://raw.githubusercontent.com/swift-server/swift-aws-lambda-runtime/refs/heads/main/.github/workflows/scripts/check-archive-plugin.sh | bash
112+
.github/workflows/scripts/check-archive-plugin.sh
115113
116114
check-foundation:
117115
name: No dependencies on Foundation
@@ -127,5 +125,4 @@ jobs:
127125
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
128126
- name: Check for Foundation or ICU dependency
129127
run: |
130-
which curl || (apt -q update && apt -yq install curl)
131-
curl -s https://raw.githubusercontent.com/swift-server/swift-aws-lambda-runtime/refs/heads/main/.github/workflows/scripts/check-link-foundation.sh | bash
128+
.github/workflows/scripts/check-link-foundation.sh

0 commit comments

Comments
 (0)