CI: fix the workflow omg hving headache each timte i do dis fdsghfsRADFa #1
Workflow file for this run
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: CI | |
on: | |
- pull_request | |
jobs: | |
yamllint: | |
name: yaml lint | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: karancode/yamllint-github-action@master | |
with: | |
yamllint_file_or_dir: "./resources/translations" | |
yamllint_strict: true | |
yamllint_comment: true | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
pharynx: | |
name: build phar | |
runs-on: ubuntu-20.04 | |
needs: | |
- yamllint | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pmmp/setup-php-action@main | |
with: | |
php-version: 8.1 | |
install-path: "../bin" | |
pm-version-major: "5" | |
- uses: SOF3/[email protected] | |
id: pharynx | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: plugin.phar | |
path: ${{steps.pharynx.outputs.output-phar}} |