Skip to content

Commit

Permalink
chore: update deps (#82)
Browse files Browse the repository at this point in the history
* chore: update Composer dependencies

* chore: update WP test versions

* chore: stan and lint

* chore: update changelog

* ci: set MariaDB to v10

* chore: update changelog
  • Loading branch information
justlevine authored Jul 7, 2023
1 parent ec1069f commit c1acde0
Show file tree
Hide file tree
Showing 17 changed files with 202 additions and 137 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

services:
mariadb:
image: mariadb
image: mariadb:10
ports:
- 3306:3306
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schema-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Lint WPGraphQL Schema
services:
mariadb:
image: mariadb
image: mariadb:10
ports:
- 3306:3306
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-schema-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

services:
mariadb:
image: mariadb
image: mariadb:10
ports:
- 3306:3306
env:
Expand Down
4 changes: 4 additions & 0 deletions .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@
<!-- Strip the file paths down to the relevant bit -->
<arg name="colors"/>
<arg name="extensions" value="php"/>
<!-- Whenever possible, cache the scan results and re-use those for unchanged files on the next scan. -->
<arg name="cache" value="tests/_output/cache.json" />
<!-- Enables parallel processing when available for faster results. -->
<arg name="parallel" value="20"/>
<!-- Set severity to 1 to see everything that isn't effectively turned off. -->
<arg name="severity" value="1" />

<!-- Ruleset Config: set these to match your project constraints-->

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to a modified version of [Semantic Versioning](./README.md#updating-and-versioning).

## Unreleased
- chore: Update Composer deps.
- chore: Cleanup PHPCS and PHPStan configurations.
- ci: Set MariaDB to v10.x in GitHub Actions.

## [0.1.2] - 2023-6-05

Expand Down
12 changes: 6 additions & 6 deletions bin/run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ print_usage_instructions() {
echo " composer build-app"
echo " composer run-app"
echo ""
echo " WP_VERSION=5.9 PHP_VERSION=8.0 composer build-app"
echo " WP_VERSION=5.9 PHP_VERSION=8.0 composer run-app"
echo " WP_VERSION=6.2 PHP_VERSION=8.1 composer build-app"
echo " WP_VERSION=6.2 PHP_VERSION=8.1 composer run-app"
echo ""
echo " WP_VERSION=5.9 PHP_VERSION=8.0 bin/run-docker.sh build -a"
echo " WP_VERSION=5.9 PHP_VERSION=8.0 bin/run-docker.sh run -a"
echo " WP_VERSION=6.2 PHP_VERSION=8.1 bin/run-docker.sh build -a"
echo " WP_VERSION=6.2 PHP_VERSION=8.1 bin/run-docker.sh run -a"
exit 1
}

Expand All @@ -29,8 +29,8 @@ if [ $# -eq 0 ]; then
fi

TAG=${TAG-latest}
WP_VERSION=${WP_VERSION-6.0}
PHP_VERSION=${PHP_VERSION-8.0}
WP_VERSION=${WP_VERSION-6.2}
PHP_VERSION=${PHP_VERSION-8.1}

BUILD_NO_CACHE=${BUILD_NO_CACHE-}

Expand Down
Loading

0 comments on commit c1acde0

Please sign in to comment.