From 72c1e94a456fcb35655c8112f979550d2d823ebe Mon Sep 17 00:00:00 2001 From: Mihai Moiseanu Date: Mon, 19 Feb 2024 11:13:41 +0200 Subject: [PATCH 1/2] run tests only on PR and push on master --- .github/workflows/build.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 267d6100..ab333449 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -5,10 +5,6 @@ on: branches: # push on master branch - master - # push on a feature branch - - feature/* - # push on a bugfix branch - - bugfix/* pull_request: branches: [ master ] From 2d304a86d2a1d3e70cb6ca964cfcb803248bdf47 Mon Sep 17 00:00:00 2001 From: Mihai Moiseanu Date: Fri, 8 Mar 2024 11:24:55 +0200 Subject: [PATCH 2/2] disable pipelines for php<7.2 --- .github/workflows/build.yaml | 2 +- .github/workflows/lint.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ab333449..1738b386 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ["5.6", "7.1", "7.2", "7.3", "7.4", "8.0"] + php-version: ["7.3", "7.4", "8.0"] os: [ubuntu-latest] experimental: [false] composer-options: [''] diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 00cabfe5..76782cbf 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Use php 7.1 + - name: Use php 7.3 uses: shivammathur/setup-php@v2 with: - php-version: 7.1 + php-version: 7.3 - name: Validate composer.json run: composer validate - name: Cache module