From c3359f0855cc11889ca6b8d7ecd9a70731579be5 Mon Sep 17 00:00:00 2001 From: Andrii Date: Thu, 15 Feb 2024 03:52:25 +0200 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..eae45a7 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + php: + runs-on: ubuntu-latest + strategy: + matrix: + php: ['7.4', '8.0', '8.1', '8.2', '8.3'] + + steps: + - name: Checkout the project + uses: actions/checkout@v4 + + - name: Install Composer dependencies + run: composer install --no-progress --prefer-dist --optimize-autoloader --no-suggest