Skip to content

Commit 695f211

Browse files
committed
Try to fix Actions again 4
1 parent ca99615 commit 695f211

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/rust_ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- command: clippy
3939
args: --all-features --workspace
4040
- command: pgrx test
41-
args: --all-features
41+
args: --all-features --runas postgres --pgdata=/tmp/pgdata
4242
steps:
4343
- uses: actions/checkout@v4
4444
- uses: Swatinem/rust-cache@v2
@@ -51,8 +51,8 @@ jobs:
5151
sudo apt update -y -qq
5252
sudo apt install -y postgresql-server-dev-$PG_VER
5353
- name: Install cargo pgrx
54-
run: cargo install --path cargo-pgrx
54+
run: cargo install cargo-pgrx
5555
- name: cargo pgrx init
5656
run: cargo pgrx init "--pg$PG_VER=$(which pg_config)"
5757
- name: Run Command
58-
run: cargo ${{ matrix.action.command }} ${{ matrix.action.args }} --runas postgres --pgdata=/tmp/pgdata
58+
run: cargo ${{ matrix.action.command }} ${{ matrix.action.args }}

0 commit comments

Comments
 (0)