Skip to content

Commit

Permalink
Added WordPress Plugin Check Action
Browse files Browse the repository at this point in the history
  • Loading branch information
s3rgiosan committed Aug 4, 2024
1 parent 9ecd6ce commit 6e860ab
Show file tree
Hide file tree
Showing 12 changed files with 632 additions and 70 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'build-test'
on:
pull_request:
push:
branches:
- main
- 'releases/*'

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Run plugin check
uses: wordpress/plugin-check-action@v1
with:
exclude-directories: '.github,vendor'
categories: |
accessibility
general
performance
security
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file, per [the Keep a Changelog standard](http://keepachangelog.com/).

## [0.5.0] - 2024-08-04

### Added

- WordPress Plugin Check Action (props @swissspidy).

## [0.4.0] - 2023-10-08

### Changed
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ The icons are from [Themify Icons](https://themify.me/themify-icons).

## Requirements

* PHP 7.4+.
* WordPress 6.1+.
* PHP 7.4+
* WordPress 6.1+

## Installation

Expand Down
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@
],
"autoload": {},
"require": {
"php": "^7.4|^8.0",
"php": "^8.2",
"composer-plugin-api": "^2.3"
},
"require-dev": {
"pixelalbatross/coding-standards": "dev-main"
"phpcompatibility/php-compatibility": "dev-develop as 9.99.99",
"phpcompatibility/phpcompatibility-wp": "*",
"phpstan/phpstan": "^1.11",
"pixelalbatross/coding-standards": "dev-main",
"szepeviktor/phpstan-wordpress": "^1.3"
},
"scripts": {
"lint": "phpcs .",
Expand Down
Loading

0 comments on commit 6e860ab

Please sign in to comment.