Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
junaidbhura authored Nov 22, 2019
1 parent ab1c306 commit 3ffa8f5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Coding Standards and Tests

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Install dependencies
run: |
composer global require wp-coding-standards/wpcs
$HOME/.composer/vendor/bin/phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs
- name: Coding standards
run: $HOME/.composer/vendor/bin/phpcs

0 comments on commit 3ffa8f5

Please sign in to comment.