From e9ca0bb2d6e5f2e1aafd2b9fc00d6472980cd085 Mon Sep 17 00:00:00 2001 From: Chihchy Date: Tue, 19 Sep 2023 15:42:11 +0800 Subject: [PATCH] Update CI --- .github/workflows/dependencies.yml | 6 ++++-- .github/workflows/deploy.yml | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 9386f7a6..af80e124 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -13,10 +13,12 @@ jobs: runs-on: macos-13 if: ${{ contains(github.event.head_commit.message, '[update dependencies]') || github.event_name == 'schedule' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + ref: develop - name: Resolve Dependencies id: resolution - uses: GetSidetrack/action-xcodeproj-spm-update@main + uses: GetSidetrack/action-xcodeproj-spm-update@v0.3.0 with: forceResolution: true failWhenOutdated: false diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4bcc89d4..73170a25 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: if: github.event.pull_request.merged == true && github.event.pull_request.user.login == 'chihchy' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Modify git config run: | git config user.name "github-actions[bot]" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cbe2e904..7c3238f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: if: ${{ !contains(github.event.head_commit.message, '[skip test]') }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies run: brew install swiftgen - name: Show Xcode version