diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index ab4445f..1671647 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -25,13 +25,13 @@ jobs: name: Test SDK runs-on: macOS-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Xcode ${{ env.XCODE_VERSION }} run: sudo xcode-select -switch /Applications/Xcode_${XCODE_VERSION}.app - name: "Cache dependencies" - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Carthage/build key: ${{ runner.os }}-carthage-v2-${{ hashFiles('**/Cartfile.resolved') }} @@ -50,7 +50,7 @@ jobs: cp .lint/cocoapods-size/result.json cocoapods-size-result.json - if: github.event_name == 'push' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: cocoapods-size-result.json key: cocoapods-size-${{ github.sha }} @@ -60,9 +60,9 @@ jobs: if: github.event_name == 'pull_request' runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: cocoapods-size-result.json key: cocoapods-size-${{ github.sha }} @@ -97,13 +97,13 @@ jobs: - id: diff_size run: echo "value=$((${{ steps.pr_size.outputs.value }} - ${{ steps.main_size.outputs.value }}))" >> $GITHUB_OUTPUT - - uses: peter-evans/find-comment@v2 + - uses: peter-evans/find-comment@v3 id: find_comment with: issue-number: ${{ github.event.pull_request.number }} body-includes: Cocoapods size report - - uses: peter-evans/create-or-update-comment@v2 + - uses: peter-evans/create-or-update-comment@v3 with: body: | Cocoapods size report: @@ -134,7 +134,7 @@ jobs: - xcode: '14.2' experimental: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Xcode ${{ matrix.xcode }} run: sudo xcode-select -switch /Applications/Xcode_${{ matrix.xcode }}.app @@ -155,7 +155,7 @@ jobs: needs: samples runs-on: macOS-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Xcode ${{ env.XCODE_VERSION }} run: sudo xcode-select -switch /Applications/Xcode_${XCODE_VERSION}.app @@ -172,4 +172,4 @@ jobs: run: | git config user.name github-actions git config user.email github-actions@github.com - bundle exec fastlane release \ No newline at end of file + bundle exec fastlane release