Since we are looking into the foundations of working in a team, which also includes defining a set of rules for formatting files. In the previous article, we discussed http://wp.5balloons.info/fix-styling-and-formatting-of-php-files-using-github-actions-and-laravel-pint/, so check that out if you haven't yet. In this article, we will be looking at formatting blade files with the help of https://github.com/shufo/blade-formatter and Github Actions.
They also provide a https://marketplace.visualstudio.com/items?itemName=shufo.vscode-blade-formatter, but we'll be working with a package since we will be formatting the files using command-line and Github Action.
And once again, I suggest you read http://wp.5balloons.info/fix-styling-and-formatting-of-php-files-using-github-actions-and-laravel-pint/ where we discuss in detail the general structure of these.yml files and also check the repository of https://github.com/shufo/blade-formatter#usage to get the idea about formatting blade files from the command line.