Skip to content

Commit

Permalink
v2.0.4 (#65)
Browse files Browse the repository at this point in the history
* chore: Bump plugin version
* chore(ci): Bump release workflow to 7.4
* chore(ci): Test against 8.1 and 8.2
  • Loading branch information
Log1x committed Jul 29, 2023
1 parent 623ddc6 commit 50bb70e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ["7.0", "7.4", "8.0"]
php-versions: ['7.4', '8.0', '8.1', '8.2']

steps:
- name: Checkout
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,35 @@ on: [pull_request]

jobs:
main:
runs-on: ubuntu-latest
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.4', '8.0', '8.1', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "7.0"
php-version: ${{ matrix.php-versions }}
coverage: xdebug
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Get composer cache directory
id: composercache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-7.0.x-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-7.0.x-composer-
key: ${{ runner.os }}-${{ matrix.php-versions }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-${{ matrix.php-versions }}-composer-

- name: Install Composer dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader --no-suggest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: release
on:
push:
tags:
- "*"
- '*'

jobs:
release:
Expand All @@ -17,7 +17,7 @@ jobs:
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: "7.0"
php-version: '7.4'
coverage: xdebug
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Navi
* Plugin URI: https://github.com/log1x/navi
* Description: A developer-friendly alternative to the WordPress NavWalker.
* Version: 2.0.3
* Version: 2.0.4
* Author: Brandon Nifong
* Author URI: https://github.com/log1x
*/
Expand Down

0 comments on commit 50bb70e

Please sign in to comment.