From 24dbb16ad775a7c53246005c338dc9acea881194 Mon Sep 17 00:00:00 2001 From: csxkdv Date: Tue, 6 Jan 2026 18:23:44 -0300 Subject: [PATCH] One last attempt, removing the creating of pgsql and adding password to the services --- .gitea/workflows/compile.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/compile.yml b/.gitea/workflows/compile.yml index 3f8de53..3bc4707 100644 --- a/.gitea/workflows/compile.yml +++ b/.gitea/workflows/compile.yml @@ -1,7 +1,3 @@ -name: Compile -run-name: Compiling software (Ubuntu) -on: [push] - jobs: Compile: runs-on: ubuntu-latest @@ -11,6 +7,8 @@ jobs: image: postgres:16 env: POSTGRES_DB: fgbot_db + POSTGRES_USER: postgres + POSTGRES_PASSWORD: test_password ports: - 5432:5432 options: >- @@ -29,11 +27,6 @@ jobs: apt-get install -y ruby-full libsodium-dev libpq-dev gem install bundler - - name: Create PostgreSQL database - run: | - sudo -u postgres createuser -s postgres - createdb fgbot_db - - name: Install dependencies run: bundle install @@ -43,5 +36,6 @@ jobs: TEST_SERVER_ID: ${{ secrets.SERVER_ID }} DB_HOST: 127.0.0.1 DB_USER: postgres + DB_PASS: test_password DB_NAME: fgbot_db run: bundle exec ruby main.rb \ No newline at end of file