Skip to content

Commit

Permalink
Update versions of github actions (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvanbrakel committed Feb 6, 2024
1 parent 3b885e1 commit 6e9957b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -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:
Expand All @@ -21,7 +25,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand All @@ -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

0 comments on commit 6e9957b

Please sign in to comment.