Skip to content

Fix title color contrasting when titles have a background color #390

Fix title color contrasting when titles have a background color

Fix title color contrasting when titles have a background color #390

Workflow file for this run

name: quneiform
on: [push]
jobs:
build:
name: quneiform
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install quneiform
run: |
git clone https://github.com/Blake-Madden/quneiform.git --recurse-submodules
cd quneiform
cmake ./
make -j4
cd ..
- name: analyze
run: |
# Ignore quneiform's own folder.
# You can ignore other folders by adding a comma and the folder name
# after "--ignore=quneiform".
./quneiform/bin/quneiform ./src --ignore=import,quneiform,math,debug,base/colors.h,base/colors.cpp -q --enable=allI18N,allCodeFormatting -o i18nresults.txt
- name: review results
run: |
REPORTFILE=./i18nresults.txt
WARNINGSFILE=./warnings.txt
if test -f "$REPORTFILE"; then
cat "$REPORTFILE" > "$WARNINGSFILE"
# are there any warnings?
if grep -qP '\[[a-zA-Z0-9]+\]' "$WARNINGSFILE"; then
# print the remaining warnings
echo Warnings detected:
echo ==================
cat "$WARNINGSFILE" | grep -P '\[[a-zA-Z0-9]+\]'
# fail the job
exit 1
else
echo No issues detected
fi
else
echo "$REPORTFILE" not found
fi