Skip to content
Luca Ubiali Web Developer

How to Contribute to Open Source - 10/13 - Fixing Failing Actions

August 22nd, 2024
Continuous Learning

Episode - https://laracasts.com/series/how-to-contribute-to-open-source/episodes/10


The tests workflow run by GitHub Action uses a matrix of PHP versions. This seems so obvious but I actually never used it before:

1jobs:
2 tests:
3 runs-on: ubuntu-22.04
4
5 strategy:
6 fail-fast: true
7 matrix:
8 php: [8.1, 8.2, 8.3]

The workflow highlighted some code styling issues raised by Larastan: missing PHPDoc Blocks, missing return types. Easily fixed and the PR is good to go.