From 02d7a3366f428abcdfdd419fa0c41ad7480b5a70 Mon Sep 17 00:00:00 2001 From: Erik van Brakel Date: Tue, 6 Feb 2024 13:41:42 +0100 Subject: [PATCH] Update versions of github actions --- .github/workflows/build.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf7c3dc..88a3398 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,10 +6,14 @@ on: release: types: [ published ] +permissions: + contents: read + pull-requests: write + jobs: build: name: Tests - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: php-version: @@ -21,7 +25,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install PHP uses: shivammathur/setup-php@v2 @@ -39,5 +43,10 @@ jobs: - name: Upload coverage results to Coveralls env: + COVERALLS_PARALLEL: true + COVERALLS_FLAG_NAME: ${{ matrix.php-version }}" + COVERALLS_SERVICE_NAME: github + COVERALLS_SERVICE_JOB_ID: "${{ github.run_id }}" + COVERALLS_SERVICE_NUMBER: "${{ github.workflow }}-${{ github.run_number }}" COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: php-coveralls --coverage_clover=build/logs/clover.xml -v