diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..31c003e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,13 @@ +name: CI + +on: + push: + pull_request: + workflow_dispatch: + # Every day at 3:00pm UTC + schedule: + - cron: '0 15 * * *' + +jobs: + ci: + uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1 diff --git a/.github/workflows/keepalive.yml b/.github/workflows/keepalive.yml new file mode 100644 index 0000000..5ee281b --- /dev/null +++ b/.github/workflows/keepalive.yml @@ -0,0 +1,15 @@ +name: Keepalive + +on: + workflow_dispatch: + # The 1st of every month at 3:50pm UTC + schedule: + - cron: '50 15 1 * *' + +jobs: + keepalive: + name: Keepalive + runs-on: ubuntu-latest + steps: + - name: Keepalive + uses: silverstripe/gha-keepalive@v1 diff --git a/README.md b/README.md index 840053d..51b2180 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Silverstripe CMS kitchen sink recipe -[![Build Status](https://app.travis-ci.com/silverstripe/recipe-kitchen-sink.svg?branch=4)](https://travis-ci.com/silverstripe/recipe-kitchen-sink) +[![CI](https://github.com/silverstripe/silverstripe-versioned/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-versioned/actions/workflows/ci.yml) The kitchen sink is an internal recipe used for testing the full Silverstripe CMS feature sets, including optional and suggested modules. diff --git a/composer.json b/composer.json index fa92531..e290219 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "tractorcow/silverstripe-fluent": "4.6.x-dev" }, "require-dev": { - "silverstripe/frameworktest": "4.x-dev", + "silverstripe/frameworktest": "^0.4.5", "silverstripe/graphql-devtools": "1.x-dev", "silverstripe/recipe-testing": "^2", "mikey179/vfsstream": "^1.6"