diff --git a/.github/workflows/auto-regenerate.yml b/.github/workflows/auto-regenerate.yml index e82e60f1..7c730af6 100644 --- a/.github/workflows/auto-regenerate.yml +++ b/.github/workflows/auto-regenerate.yml @@ -3,7 +3,7 @@ name: "Auto Regenerate" on: schedule: - - cron: '0 0 * * 3' + - cron: '0 3 * * *' jobs: diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 07506345..505768b6 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -33,14 +33,23 @@ jobs: coverage: "pcov" php-version: "${{ matrix.php-version }}" + - name: "Cache the php documentation" + id: cache-php-doc + uses: "actions/cache@v1" + with: + path: "generator/doc/doc-en" + key: "php-doc" + - name: "Check out salathe/phpdoc-base" uses: "actions/checkout@v2" + if: steps.cache-php-doc.outputs.cache-hit != 'true' with: path: "generator/doc/doc-en/doc-base" repository: "salathe/phpdoc-base" - name: "Check out php/doc-en" uses: "actions/checkout@v2" + if: steps.cache-php-doc.outputs.cache-hit != 'true' with: path: "generator/doc/doc-en/en" repository: "php/doc-en" diff --git a/README.md b/README.md index 7eeb5a0e..e6d4be5a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![License](https://poser.pugx.org/thecodingmachine/safe/license.svg)](https://packagist.org/packages/thecodingmachine/safe) [![Build Status](https://travis-ci.org/thecodingmachine/safe.svg?branch=master)](https://travis-ci.org/thecodingmachine/safe) [![Continuous Integration](https://github.com/thecodingmachine/safe/workflows/Continuous%20Integration/badge.svg)](https://github.com/thecodingmachine/safe/actions) -[![Coverage Status](https://coveralls.io/repos/thecodingmachine/safe/badge.svg?branch=master&service=github)](https://coveralls.io/github/thecodingmachine/safe?branch=master) +[![codecov](https://codecov.io/gh/thecodingmachine/safe/branch/master/graph/badge.svg)](https://codecov.io/gh/thecodingmachine/safe) Safe PHP ========