Skip to content

Commit 6250547

Browse files
committed
Feat, uses make -j 3
1 parent 84796d9 commit 6250547

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/Dependabot.yml renamed to .github/workflows/CI-Dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
os: ${{ matrix.os }}
3232
- name: "Sync code base"
3333
env:
34-
PR_URL: ${{github.event.pull_request.html_url}}
35-
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
34+
PR_URL: ${{ github.event.pull_request.html_url }}
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
run: |
3737
gh pr checkout ${{ github.event.pull_request.number }}
3838
git config user.name "${GITHUB_ACTOR}"
3939
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
40-
make install
40+
make -j 3 install
4141
git push
4242
gh pr merge --auto --merge "$PR_URL"
4343
gh pr review --approve "$PR_URL"

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ commit:
4141
Sources/%: Sources/%/Client.swift Sources/%/Types.swift
4242
@$(MAKE) commit file="$@"
4343

44+
# Prevent submodule update from running in parallel with other jobs
45+
.NOTPARALLEL: Submodule
46+
4447
# Update openapi specification if needed
4548
.PHONY: Submodule
4649
Submodule:

0 commit comments

Comments
 (0)