Skip to content

Commit f2f2ea8

Browse files
author
Andrea Scuderi
committed
Try GITHUB_ACTIONS_RUNNER_FORCED_NODE_VERSION=node16
1 parent 12ffecb commit f2f2ea8

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/swift-test.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
image: ${{ matrix.image }}
2727
env:
2828
LOCALSTACK_ENDPOINT : "http://localstack:4566"
29-
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
29+
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
30+
GITHUB_ACTIONS_RUNNER_FORCED_NODE_VERSION: node16
3031
# Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest
3132
defaults:
3233
run:
@@ -37,12 +38,8 @@ jobs:
3738
- name: Setup
3839
run: |
3940
yum -y update && yum -y install git make zip curl
40-
- name: Git Clone & Checkout
41-
run: |
42-
git clone https://github.com/$GITHUB_REPOSITORY.git $GITHUB_WORKSPACE/src
43-
echo https://github.com/$GITHUB_REPOSITORY.git $BRANCH_NAME
44-
cd $GITHUB_WORKSPACE/src
45-
git checkout $BRANCH_NAME
41+
- name: Checkout
42+
uses: actions/checkout@v3
4643
- name: Test
4744
run: |
4845
cd $GITHUB_WORKSPACE/src

0 commit comments

Comments
 (0)