UPDATE: zendesk takedown, switched to placeholders #19
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: icondimensions | |
on: | |
pull_request: | |
paths: | |
- www/logos/**/*-icon*.svg | |
push: | |
paths: | |
- www/logos/**/*-icon*.svg | |
workflow_dispatch: | |
jobs: | |
icondimensions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install fflint | |
run: | | |
curl \ | |
--location \ | |
--silent \ | |
https://github.com/FileFormatInfo/fflint/releases/latest/download/fflint_Linux_x86_64.tar.gz \ | |
| tar -xz fflint | |
- name: Check icon dimensions | |
run: | | |
# NOTE: some of the disabled checks are still required, but caught by other CI jobs | |
./fflint svg \ | |
--foreign=true \ | |
--height=64 \ | |
--images=any \ | |
--namespace=false \ | |
--progress=false \ | |
--text=true \ | |
--width=64 \ | |
"www/logos/**/*-icon*.svg" | |