Improve comment #788
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: [push] | |
| name: Mago Code Analysis and Linting | |
| jobs: | |
| mago: | |
| name: Mago | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "📥 Fetching Repository Contents" | |
| uses: actions/checkout@v4.1.1 | |
| - name: Install dependencies | |
| run: composer install --dev --prefer-dist --no-progress | |
| - name: "⚡ Install Mago" | |
| run: | | |
| mkdir -p bin | |
| curl --proto '=https' --tlsv1.2 -sSf https://carthage.software/mago.sh | bash -s -- --install-dir=bin | |
| - name: "✅ Mago Lint" | |
| run: ./bin/mago lint | |
| - name: "🔎 Mago Analyze" | |
| run: ./bin/mago analyze |