CI adjustment

This commit is contained in:
Shao Yu-Lung (Allen) 2021-03-16 15:43:42 +08:00
parent 2ac2058a6b
commit be587e8cc6
1 changed files with 9 additions and 3 deletions

View File

@ -1,14 +1,20 @@
name: CI name: CI
on: [push, pull_request] on:
push:
branches: '**'
tags: '**'
pull_request:
schedule:
- cron: '0 0 * * 0'
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
php_version: ["7.1", "7.2", "7.3", "7.4", "8.0"] php_version: ["7.2", "7.3", "7.4", "8.0"]
service: [php-fpm, php-worker, workspace, laravel-horizon] service: [php-fpm, php-worker, workspace, laravel-horizon, 'nginx redis']
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build the Docker image - name: Build the Docker image