-
Notifications
You must be signed in to change notification settings - Fork 48
41 lines (34 loc) · 898 Bytes
/
icondimensions.yaml
File metadata and controls
41 lines (34 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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"