From 30306ecb1da5dfd5e10c1066c7852f334790dd86 Mon Sep 17 00:00:00 2001 From: Andy McKay Date: Mon, 13 Jul 2020 13:45:16 -0700 Subject: [PATCH] use new default branch --- .github/workflows/mongodb-service.yml | 18 +++++++++--------- .github/workflows/postgres-service.yml | 12 ++++++------ .github/workflows/redis-service.yml | 4 ++-- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/mongodb-service.yml b/.github/workflows/mongodb-service.yml index 51fbd33..3142e41 100644 --- a/.github/workflows/mongodb-service.yml +++ b/.github/workflows/mongodb-service.yml @@ -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: diff --git a/.github/workflows/postgres-service.yml b/.github/workflows/postgres-service.yml index cce3f4c..30f623b 100644 --- a/.github/workflows/postgres-service.yml +++ b/.github/workflows/postgres-service.yml @@ -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 diff --git a/.github/workflows/redis-service.yml b/.github/workflows/redis-service.yml index a136280..dfa68e8 100644 --- a/.github/workflows/redis-service.yml +++ b/.github/workflows/redis-service.yml @@ -3,10 +3,10 @@ name: Redis Service Example on: push: branches: - - master + - main pull_request: branches: - - master + - main jobs: container-job: