Skip to content

Commit 1b207ff

Browse files
author
Andrea Scuderi
committed
Fix GHA
1 parent abffa38 commit 1b207ff

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/swift-test.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
image:
21-
- swift:5.7.3-amazonlinux2
21+
- swift:5.10.1-amazonlinux2
2222
services:
2323
localstack:
2424
image: localstack/localstack
@@ -33,11 +33,14 @@ jobs:
3333

3434
steps:
3535
# Checkout the repository to the GitHub Actions runner
36-
- name: Checkout
37-
uses: actions/checkout@v3
38-
- name: Setup
39-
run: |
40-
yum -y update && yum -y install git make curl
36+
- name: Setup
37+
run: |
38+
yum -y update && yum -y install git make zip curl
39+
- name: Git Clone & Checkout
40+
run: |
41+
git clone https://github.com/$GITHUB_REPOSITORY.git $GITHUB_WORKSPACE/src
42+
echo https://github.com/$GITHUB_REPOSITORY.git $BRANCH_NAME
43+
cd $GITHUB_WORKSPACE/src && git checkout $BRANCH_NAME
4144
- name: Test
4245
run: |
4346
make test

0 commit comments

Comments
 (0)