Merge pull request #27 from actions/use-new-default-branch
Some checks failed
Mongodb Service Example / container-job (push) Has been cancelled
Mongodb Service Example / vm-job (push) Has been cancelled
Postgres Service Example / container-job (push) Has been cancelled
Postgres Service Example / vm-job (push) Has been cancelled
Redis Service Example / container-job (push) Has been cancelled
Redis Service Example / vm-job (push) Has been cancelled
Some checks failed
Mongodb Service Example / container-job (push) Has been cancelled
Mongodb Service Example / vm-job (push) Has been cancelled
Postgres Service Example / container-job (push) Has been cancelled
Postgres Service Example / vm-job (push) Has been cancelled
Redis Service Example / container-job (push) Has been cancelled
Redis Service Example / vm-job (push) Has been cancelled
Use new default branch
This commit is contained in:
18
.github/workflows/mongodb-service.yml
vendored
18
.github/workflows/mongodb-service.yml
vendored
@@ -3,20 +3,20 @@ name: Mongodb Service Example
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
- main
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./mongodb
|
||||
|
||||
|
||||
jobs:
|
||||
container-job:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# runs all of the steps inside the specified container rather than on the VM host.
|
||||
|
||||
# runs all of the steps inside the specified container rather than on the VM host.
|
||||
# Because of this the network configuration changes from host based network to a container network.
|
||||
container:
|
||||
image: node:10.16-jessie
|
||||
@@ -26,9 +26,9 @@ jobs:
|
||||
image: mongo
|
||||
ports:
|
||||
- 27017:27017
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v1
|
||||
- run: npm ci
|
||||
- run: node client.js
|
||||
env:
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
- 27017/tcp
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v1
|
||||
- run: npm ci
|
||||
- run: node client.js
|
||||
env:
|
||||
|
||||
12
.github/workflows/postgres-service.yml
vendored
12
.github/workflows/postgres-service.yml
vendored
@@ -3,16 +3,16 @@ name: Postgres Service Example
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
container-job:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# runs all of the steps inside the specified container rather than on the VM host.
|
||||
|
||||
# runs all of the steps inside the specified container rather than on the VM host.
|
||||
# Because of this the network configuration changes from host based network to a container network.
|
||||
container:
|
||||
image: node:10.16-jessie
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v1
|
||||
- run: npm ci
|
||||
working-directory: ./postgres
|
||||
- run: node client.js
|
||||
@@ -60,7 +60,7 @@ jobs:
|
||||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v1
|
||||
- run: npm ci
|
||||
working-directory: ./postgres
|
||||
- run: node client.js
|
||||
|
||||
4
.github/workflows/redis-service.yml
vendored
4
.github/workflows/redis-service.yml
vendored
@@ -3,10 +3,10 @@ name: Redis Service Example
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
container-job:
|
||||
|
||||
Reference in New Issue
Block a user