Skip to content

Commit d40877e

Browse files
committed
chore: move Checkout Repository before chown
1 parent 157ad9f commit d40877e

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/run-tests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,16 @@ jobs:
4242
# - ./database:/var/lib/postgresql/data
4343

4444
steps:
45+
- name: Checkout Repository
46+
uses: actions/checkout@v4
47+
with:
48+
ref: ${{ matrix.branch }}
4549
- name: Wait for PostgreSQL
4650
uses: jakejarvis/wait-action@master
4751
with:
4852
time: '20s'
49-
5053
- name: Make runner the owner of database folder
5154
run: sudo chown -R $USER database
52-
53-
- name: Checkout Repository
54-
uses: actions/checkout@v4
55-
with:
56-
ref: ${{ matrix.branch }}
57-
5855
- name: Setup node
5956
uses: actions/setup-node@v3
6057
with:

0 commit comments

Comments
 (0)