Skip to content

Support WordPress v6.7.1 #9

Support WordPress v6.7.1

Support WordPress v6.7.1 #9

name: 'WordPress Plugin Check'
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: latest
coverage: none
tools: wp-cli
- name: Install latest version of dist-archive-command
run: wp package install wp-cli/dist-archive-command:@stable
- name: Build plugin
run: |
wp dist-archive . ./display-event-locations-tec.zip
mkdir tmp-build
unzip display-event-locations-tec.zip -d tmp-build
- name: Run plugin check
uses: wordpress/plugin-check-action@v1
with:
build-dir: './tmp-build/display-event-locations-tec'