Skip to content

Commit

Permalink
Add action for package updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin de Keijzer committed Feb 17, 2021
1 parent 5388612 commit 3169eee
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/update-monday.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update monday

on:
schedule:
- cron: '0 6 * * 1'

jobs:
update-check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Validate composer.json and composer.lock
run: composer validate

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest

- name: Find and report outdated dependencies
run: composer outdated --direct

0 comments on commit 3169eee

Please sign in to comment.