Fix ci.yml with sudo

This commit is contained in:
Сырцев Вадим Игоревич 2024-01-26 14:40:06 +03:00
parent 5a9bbf3f0b
commit 3a392aded3

View file

@ -135,7 +135,7 @@ jobs:
redis-server --port 7779 > /dev/null &
- name: Install psql
run: |
apt install postgresql-client -y
sudo apt install postgresql-client -y
- name: Create PostgreSQL databases
run: |
psql -h localhost -U teloxide -c "CREATE DATABASE test_postgres_json;"