Skip to content

Commit

Permalink
Merge pull request #12 from michaelw90/v2
Browse files Browse the repository at this point in the history
[v2] Update to Latest GitHub Action Syntax
  • Loading branch information
michaelw90 authored May 18, 2020
2 parents acffeed + 1c5b9bc commit 370fa11
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
10 changes: 0 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
FROM php:7.3-cli

LABEL "com.github.actions.name"="PHP Lint"
LABEL "com.github.actions.description"="Run Lint Against Pull Request"
LABEL "com.github.actions.icon"="eye"
LABEL "com.github.actions.color"="gray-dark"

LABEL version="1.0.0"
LABEL repository="http://github.com/michaelw90/php-lint"
LABEL homepage="http://github.com/michaelw90/php-lint"
LABEL maintainer="Michael Wright <php-lint@wserver.co.uk>"

RUN apt-get update && apt-get -y install zip unzip

RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitHub Action for PHPLint

GitHub Action implementation of the PHPLint Package provided by [https://github.com/overtrue/phplint](@Overtrue/phplint).
GitHub Action implementation of the PHPLint Package provided by [@Overtrue/phplint](https://github.com/overtrue/phplint).

## Usage

Expand Down
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: 'PHP Lint'
description: 'Run Lint Against Pull Request'
author: 'Michael Wright <php-lint@wserver.co.uk>'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'eye'
color: 'gray-dark'

0 comments on commit 370fa11

Please sign in to comment.