update dependant .tmTheme
bundles to the latest
#24
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: Assets | |
on: | |
push: | |
paths: | |
- 'assets/**' | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
check-assets: | |
name: Check theme set can be generated | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -D warnings | |
RUST_BACKTRACE: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- run: cd ./assets/builder && cargo run --color always | |
- name: Check themes.bin was not changed | |
run: | | |
if ! git diff --quiet; then | |
echo "ERROR: Working tree is dirty! Run 'cargo run' at ./assets to generate changes and commit them" >&2 | |
git diff | |
exit 1 | |
fi |