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 #107

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

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

Workflow file for this run

name: Test MongoDB
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test MongoDB
runs-on: ubuntu-latest
services:
mongodb:
image: mongo:8.0.15
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 MongoDB
uses: ./
with:
type: mongodb
host: mongodb
port: 27017
timeout: 300
test-timeout:
name: Test MongoDB - Timeout
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v5
- name: Patch action.yml
run: |
sed -i 's|image:\s.*|image: Dockerfile|g' action.yml
- name: Wait for MongoDB
id: wait-for-mongodb
uses: ./
continue-on-error: true
with:
type: mongodb
host: mongodb
port: 27017
timeout: 30
- name: Fail if wait succeeded unexpectedly
if: steps.wait-for-mongodb.outcome != 'failure'
run: exit 1