From 2efd01aae0108d04676db6f19c8686e22f005240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Fri, 15 Mar 2024 13:41:48 +0100 Subject: [PATCH] ci: format yaml --- .github/workflows/ci.yaml | 69 +++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 35 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d46c61b..3621260 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,38 +1,37 @@ name: CI on: - push: - branches: - - master - pull_request: null - schedule: - - - cron: '0 0 * * MON' + push: + branches: + - master + pull_request: null + schedule: + - cron: "0 0 * * MON" jobs: - tests: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - php-version: ['8.1', '8.2'] - composer-flags: [''] - name: [''] - include: - - php-version: '8.1' - composer-flags: '--prefer-lowest' - name: '(prefer lowest dependencies)' - name: Tests PHP ${{ matrix.php-version }} ${{ matrix.name }} - steps: - - name: checkout - uses: actions/checkout@v4 - - name: setup - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php-version }} - - name: composer install - run: composer update --prefer-dist --no-interaction ${{ matrix.composer-flags }} - - name: Build docker - run: docker build -t httpbin . - - name: Run docker - run: docker run -d -p 8081:80 httpbin - - name: tests - run: composer test + tests: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + php-version: ["8.1", "8.2"] + composer-flags: [""] + name: [""] + include: + - php-version: "8.1" + composer-flags: "--prefer-lowest" + name: "(prefer lowest dependencies)" + name: Tests PHP ${{ matrix.php-version }} ${{ matrix.name }} + steps: + - name: checkout + uses: actions/checkout@v4 + - name: setup + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-version }} + - name: composer install + run: composer update --prefer-dist --no-interaction ${{ matrix.composer-flags }} + - name: Build docker + run: docker build -t httpbin . + - name: Run docker + run: docker run -d -p 8081:80 httpbin + - name: tests + run: composer test