Skip to content

Commit 6efeecb

Browse files
authored
Revise architecture diagram workflow configuration
Updated Ruby version and added dependency installation step.
1 parent ffcd8d3 commit 6efeecb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/update-architecture-diagram.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ jobs:
3939
- name: Set up Ruby
4040
uses: ruby/setup-ruby@v1
4141
with:
42-
ruby-version: '3.1.7'
43-
bundler-cache: false
42+
ruby-version: '3.3'
43+
bundler-cache: true
44+
45+
- name: Install dependencies
46+
run: bundle install --jobs 4 --retry 3
4447

4548
- name: Update architecture diagram
4649
run: |
@@ -60,6 +63,7 @@ jobs:
6063
run: |
6164
git config user.name "github-actions[bot]"
6265
git config user.email "github-actions[bot]@users.noreply.github.com"
66+
git checkout ${{ github.head_ref || github.ref_name }}
6367
git add README.md
6468
git commit -m "docs: auto-update architecture diagram [skip ci]"
6569
git push

0 commit comments

Comments
 (0)