diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd9afc8..61fe167 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -213,8 +213,11 @@ jobs: #- uses: Swatinem/rust-cache@v1 - - name: Regenerate and check - run: ./regenerate_fonts_file.sh --check --hide-progress + - name: Regenerate fonts + run: ./regenerate_fonts_file.sh --hide-progress + + - name: Check for diffs + - run: test -z "$(git status --porcelain)" msrv: name: Minimum Supported Rust Version diff --git a/regenerate_fonts_file.sh b/regenerate_fonts_file.sh index cf22a40..7a01b65 100755 --- a/regenerate_fonts_file.sh +++ b/regenerate_fonts_file.sh @@ -5,4 +5,4 @@ set -eu SCRIPTPATH=$( cd "$(dirname "$(readlink -f "$0")")" || exit 1 ; pwd -P ) cd "$SCRIPTPATH/tools/generate_fonts_file" -cargo run --release -- "$@" "$SCRIPTPATH/u8g2/csrc/u8g2_fonts.c" "$SCRIPTPATH/src/fonts.rs" +cargo run --release -- "$@" "$SCRIPTPATH/u8g2/csrc/u8g2_fonts.c" "$SCRIPTPATH/src/fonts"