mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-27 16:51:00 -05:00
19 lines
432 B
YAML
19 lines
432 B
YAML
on: [push]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
container:
|
|
image: code.forgejo.org/oci/debian:bookworm
|
|
|
|
services:
|
|
pgsql:
|
|
image: code.forgejo.org/oci/postgres:15
|
|
env:
|
|
POSTGRES_DB: test
|
|
POSTGRES_PASSWORD: postgres
|
|
steps:
|
|
- run: |
|
|
apt-get update -qq
|
|
apt-get install -y -qq postgresql-client
|
|
PGPASSWORD=postgres psql -h pgsql -U postgres -c '\dt' test
|