Skip to content

Commit c5ecccc

Browse files
authored
Merge pull request #38 from Wei18/chore/github-actions
GitHub actions: dependabot / cache / auto-merge / approve
2 parents 9bc109c + 92d301b commit c5ecccc

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

.github/dependabot.yml

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7+
8+
- package-ecosystem: "github-actions"
9+
directory: "/.github/actions/setup"
10+
schedule:
11+
interval: "weekly"
712

813
- package-ecosystem: "swift"
914
directory: "/"

.github/workflows/Dependabot.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ jobs:
3939
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
4040
make install
4141
git push
42-
# gh pr review --approve "$PR_URL"
43-
# gh pr merge --auto --merge "$PR_URL"
42+
gh pr merge --auto --merge "$PR_URL"
43+
gh pr review --approve "$PR_URL"
4444

.github/workflows/actions/setup/action.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,18 @@ runs:
1717
- uses: irgaly/setup-mint@v1
1818
- uses: dcarbone/[email protected]
1919

20-
# - name: "Xcode Cache"
20+
- name: "Xcode Cache"
21+
if: contains(inputs.os, 'macos')
22+
uses: irgaly/xcode-cache@v1
23+
with:
24+
key: xcode-cache-deriveddata-${{ github.workflow }}-${{ github.sha }}
25+
restore-keys: xcode-cache-deriveddata-${{ github.workflow }}-
26+
27+
# - name: "Set IgnoreFileSystemDeviceInodeChanges flag"
2128
# if: contains(inputs.os, 'macos')
22-
# uses: irgaly/xcode-cache@v1
23-
# with:
24-
# key: xcode-cache-deriveddata-${{ github.workflow }}-${{ github.sha }}
25-
# restore-keys: |
26-
# xcode-cache-deriveddata-${{ github.workflow }}-
27-
29+
# shell: bash
30+
# run: defaults write com.apple.dt.XCBuild IgnoreFileSystemDeviceInodeChanges -bool YES
31+
2832
- name: "Swift Package Manager Cache"
2933
uses: actions/cache@v3
3034
with:

0 commit comments

Comments
 (0)