WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

chore(deps): update dependency prettier to v3.7.4 #92

chore(deps): update dependency prettier to v3.7.4

chore(deps): update dependency prettier to v3.7.4 #92

Workflow file for this run

name: Test PostgreSQL
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test PostgreSQL
runs-on: ubuntu-latest
services:
postgres:
image: postgres:18-alpine
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: testdb
ports:
- 5432:5432
timeout-minutes: 10
steps:
- uses: actions/checkout@v5
- name: Patch action.yml
run: |
sed -i 's|image:\s.*|image: Dockerfile|g' action.yml
- name: Wait for PostgreSQL
uses: ./
with:
type: postgres
host: postgres
port: 5432
username: postgres
password: postgres
database: testdb
timeout: 300
test-timeout:
name: Test PostgreSQL - Timeout
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v5
- name: Patch action.yml
run: |
sed -i 's|image:\s.*|image: Dockerfile|g' action.yml
- name: Wait for PostgreSQL
id: wait-for-postgres
uses: ./
continue-on-error: true
with:
type: postgres
host: nonexistent-host
port: 5432
username: postgres
password: postgres
database: testdb
timeout: 30
- name: Fail if wait succeeded unexpectedly
if: steps.wait-for-postgres.outcome != 'failure'
run: exit 1