From 8cea99f96848f4778bb64e7a303ebef654878c4c Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Fri, 15 Mar 2024 23:50:55 +0100 Subject: [PATCH] Bump to actual Box 4.6.1 Basically just bump it, and, in order to get the auto-completion command working, ensure that the build par contains all the completion.(bash|fish|zsh) files. --- .github/workflows/test.yml | 4 ++-- Makefile | 2 +- box.json | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 767c2b23..000b2fa0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -143,10 +143,10 @@ jobs: - name: Check out repository code uses: actions/checkout@v4 - - name: Setup PHP 8.1 + - name: Setup PHP 8.2 uses: shivammathur/setup-php@v2 with: - php-version: 8.1 + php-version: 8.2 ini-values: phar.readonly = false - name: Build PHAR diff --git a/Makefile b/Makefile index e402620d..02a01fcb 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ ifeq (, $(wildcard vendor)) endif build/box.phar: - curl -LSs https://github.com/box-project/box/releases/download/4.3.8/box.phar -o build/box.phar + curl -LSs https://github.com/box-project/box/releases/download/4.6.1/box.phar -o build/box.phar build/moodle-plugin-ci.phar: build/box.phar $(COMPOSER) install --no-dev --prefer-dist --classmap-authoritative --quiet diff --git a/box.json b/box.json index b12fad44..d6c1428a 100644 --- a/box.json +++ b/box.json @@ -13,7 +13,10 @@ "name": [ "*.php", "*.xml", - "*.xsd" + "*.xsd", + "completion.bash", + "completion.fish", + "completion.zsh" ], "exclude": [ "moodlehq",