Skip to content

Commit 4bb99d3

Browse files
committed
fix: clone extensions to /tmp on macOS to avoid workspace conflicts
1 parent 895a09f commit 4bb99d3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/actions/setup-postgres/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ runs:
3535
echo "Extension directory: $(pg_config --sharedir)/extension"
3636
echo "Library directory: $(pg_config --pkglibdir)"
3737
38-
# Clone and build plpgsql_check
38+
# Clone and build plpgsql_check (clone to /tmp to avoid workspace conflicts)
39+
cd /tmp
3940
git clone https://github.com/okbob/plpgsql_check.git
4041
cd plpgsql_check
4142
@@ -71,7 +72,8 @@ runs:
7172
# Initialize pgrx for the installed PostgreSQL version
7273
cargo pgrx init --pg${PG_VERSION} $(which pg_config)
7374
74-
# Clone and build pglinter
75+
# Clone and build pglinter (clone to /tmp to avoid workspace conflicts)
76+
cd /tmp
7577
git clone https://github.com/pmpetit/pglinter.git
7678
cd pglinter
7779

0 commit comments

Comments
 (0)