From 3f32c58b9b5820f157a4a1cba24eb9803c1b753d Mon Sep 17 00:00:00 2001 From: David Christensen Date: Mon, 5 Feb 2024 15:51:34 -0600 Subject: [PATCH] fix: test using gosu manually to invoke as different users --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ed1435..93cf297 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,9 @@ jobs: pg: [16, 15, 14, 13, 12] name: 🐘 PostgreSQL ${{ matrix.pg }} runs-on: ubuntu-latest - container: - image: pgxn/pgxn-tools - options: "-e AS_USER=pgtest" + container: pgxn/pgxn-tools steps: + - run: AS_USER=pg_test /usr/local/bin/entrypoint.sh - run: pg-start ${{ matrix.pg }} - uses: actions/checkout@v4 - - run: pg-build-test + - run: gosu pg_test pg-build-test