Rebuild bat with new assets

This commit is contained in:
sharkdp 2020-08-03 14:53:31 +02:00 committed by David Peter
parent 4b012de7db
commit 9110b00e2e

View File

@ -48,7 +48,12 @@ jobs:
args: --locked --path . args: --locked --path .
- name: Rebuild binary assets (syntaxes and themes) - name: Rebuild binary assets (syntaxes and themes)
run: bash assets/create.sh run: bash assets/create.sh
- name: Run tests with new syntaxes and themes - name: Build and install bat with updated assets
uses: actions-rs/cargo@v1
with:
command: install
args: --locked --path .
- name: Run unit tests with new syntaxes and themes
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: test command: test
@ -56,15 +61,9 @@ jobs:
- name: Syntax highlighting regression test - name: Syntax highlighting regression test
run: tests/syntax-tests/regression_test.sh run: tests/syntax-tests/regression_test.sh
- name: List of languages - name: List of languages
uses: actions-rs/cargo@v1 run: bat --list-languages
with:
command: run
args: --release -- --list-languages
- name: List of themes - name: List of themes
uses: actions-rs/cargo@v1 run: bat --list-themes
with:
command: run
args: --release -- --list-themes
build: build:
name: Build name: Build