pin mago 0.0.9 #2726
This file contains 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
name: "coding standards" | |
on: | |
pull_request: ~ | |
push: ~ | |
jobs: | |
coding-standards: | |
name: "coding standards" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "checkout" | |
uses: "actions/checkout@v4" | |
- name: "installing PHP" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
php-version: "8.4" | |
ini-values: memory_limit=-1 | |
tools: composer:v2, cs2pr | |
extensions: bcmath, mbstring, intl, sodium, json | |
- name: "installing dependencies" | |
run: | | |
make install -j10 -O | |
- name: "install mago" | |
run: | | |
cargo install mago@0.0.9 | |
- name: "formatting" | |
run: mago fmt --dry-run | |
- name: "linting" | |
run: mago lint --reporting-format=github |