Skip to content

Delete /fonts and actions cleanup #6

Delete /fonts and actions cleanup

Delete /fonts and actions cleanup #6

Workflow file for this run

name: Generate font files
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
Build fonts:

Check failure on line 13 in .github/workflows/build-test.yml

View workflow run for this annotation

GitHub Actions / Generate font files

Invalid workflow file

The workflow is not valid. .github/workflows/build-test.yml (Line: 13, Col: 3): The identifier 'Build fonts' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters. .github/workflows/build-test.yml (Line: 36, Col: 3): The identifier 'Run the Google Fonts test suite' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install fontmake gftools
- name: Build fonts
run: |
gftools builder sources/config.yaml
- name: Archive fonts
uses: actions/upload-artifact@v4
with:
name: ZenithSans
path: |
fonts/*
OFL.txt
README.md
Run the Google Fonts test suite:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install fontbakery
- name: Download fonts
uses: actions/download-artifact@v4
with:
name: ZenithSans
- name: Test fonts on the Google Fonts suite
run: |
fontbakery check-googlefonts fonts/variable/*.ttf
fontbakery check-googlefonts fonts/ttf/*.ttf