2121 runs-on : macos-latest
2222
2323 steps :
24- - uses : actions/checkout@v3
24+ - uses : actions/checkout@v5
25+ with :
26+ persist-credentials : false
2527 - name : Install Flutter
2628 uses : subosito/flutter-action@v2
2729 with :
@@ -33,15 +35,16 @@ jobs:
3335 - name : Test app
3436 run : flutter test --coverage
3537 - name : Upload coverage to Coveralls
36- uses : coverallsapp/github-action@master
38+ uses : coverallsapp/github-action@v2
3739 with :
3840 github-token : ${{ secrets.GITHUB_TOKEN }}
3941
4042 integration_android_tests :
4143 runs-on : ubuntu-latest
4244 steps :
43- - uses : actions/checkout@v2
45+ - uses : actions/checkout@v5
4446 with :
47+ persist-credentials : false
4548 # You should create a personal access token and store it in your repository
4649 token : ${{ secrets.CI_USER_TOKEN }}
4750 repository : ' optimizely/ci-helper-tools'
@@ -52,14 +55,14 @@ jobs:
5255 HEAD_REF : ${{ github.head_ref }}
5356 if : ${{ github.event_name == 'pull_request' }}
5457 run : |
55- echo "SDK_BRANCH=$HEAD_REF" >> $GITHUB_ENV
58+ echo "SDK_BRANCH=$HEAD_REF" >> " $GITHUB_ENV"
5659 - name : set SDK Branch if not pull request
5760 env :
5861 REF_NAME : ${{ github.ref_name }}
5962 if : ${{ github.event_name != 'pull_request' }}
6063 run : |
61- echo "SDK_BRANCH=$REF_NAME" >> $GITHUB_ENV
62- echo "TRAVIS_BRANCH=$REF_NAME" >> $GITHUB_ENV
64+ echo "SDK_BRANCH=$REF_NAME" >> " $GITHUB_ENV"
65+ echo "TRAVIS_BRANCH=$REF_NAME" >> " $GITHUB_ENV"
6366 - name : Trigger build
6467 env :
6568 SDK : android
8285 integration_ios_tests :
8386 runs-on : ubuntu-latest
8487 steps :
85- - uses : actions/checkout@v2
88+ - uses : actions/checkout@v5
8689 with :
90+ persist-credentials : false
8791 # You should create a personal access token and store it in your repository
8892 token : ${{ secrets.CI_USER_TOKEN }}
8993 repository : ' optimizely/ci-helper-tools'
@@ -94,14 +98,14 @@ jobs:
9498 HEAD_REF : ${{ github.head_ref }}
9599 if : ${{ github.event_name == 'pull_request' }}
96100 run : |
97- echo "SDK_BRANCH=$HEAD_REF" >> $GITHUB_ENV
101+ echo "SDK_BRANCH=$HEAD_REF" >> " $GITHUB_ENV"
98102 - name : set SDK Branch if not pull request
99103 env :
100104 REF_NAME : ${{ github.ref_name }}
101105 if : ${{ github.event_name != 'pull_request' }}
102106 run : |
103- echo "SDK_BRANCH=$REF_NAME" >> $GITHUB_ENV
104- echo "TRAVIS_BRANCH=$REF_NAME" >> $GITHUB_ENV
107+ echo "SDK_BRANCH=$REF_NAME" >> " $GITHUB_ENV"
108+ echo "TRAVIS_BRANCH=$REF_NAME" >> " $GITHUB_ENV"
105109 - name : Trigger build
106110 env :
107111 SDK : ios
@@ -125,7 +129,9 @@ jobs:
125129 runs-on : ubuntu-latest
126130
127131 steps :
128- - uses : actions/checkout@v3
132+ - uses : actions/checkout@v5
133+ with :
134+ persist-credentials : false
129135 - uses : subosito/flutter-action@v2
130136 with :
131137 flutter-version : ' 3.44.0'
@@ -135,7 +141,7 @@ jobs:
135141 cache-path : ${{ runner.tool_cache }}/flutter
136142 architecture : x64
137143 - name : Setup java
138- uses : actions/setup-java@v2
144+ uses : actions/setup-java@v5
139145 with :
140146 distribution : ' zulu'
141147 java-version : ' 11'
@@ -146,7 +152,9 @@ jobs:
146152 runs-on : macos-latest
147153
148154 steps :
149- - uses : actions/checkout@v3
155+ - uses : actions/checkout@v5
156+ with :
157+ persist-credentials : false
150158 - uses : subosito/flutter-action@v2
151159 with :
152160 flutter-version : ' 3.44.0'
0 commit comments