Skip to content

Commit

Permalink
Switch to GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
swalkinshaw committed May 28, 2021
1 parent 3f12c95 commit 29130d4
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .circleci/config.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php_version: ['7.3', '7.4', '8.0']

steps:
- uses: actions/checkout@v2

- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

- name: Install Composer dependencies
uses: php-actions/composer@v5
with:
php_version: ${{ matrix.php_version }}
version: 2

- name: Run lint script
uses: php-actions/composer@v5
with:
command: lint
php_version: ${{ matrix.php_version }}
version: 2

0 comments on commit 29130d4

Please sign in to comment.