mirror of
https://github.com/sharkdp/bat
synced 2024-11-23 20:33:06 +00:00
Rebuild bat with new assets
This commit is contained in:
parent
4b012de7db
commit
9110b00e2e
1 changed files with 8 additions and 9 deletions
17
.github/workflows/CICD.yml
vendored
17
.github/workflows/CICD.yml
vendored
|
@ -48,7 +48,12 @@ jobs:
|
|||
args: --locked --path .
|
||||
- name: Rebuild binary assets (syntaxes and themes)
|
||||
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
|
||||
with:
|
||||
command: test
|
||||
|
@ -56,15 +61,9 @@ jobs:
|
|||
- name: Syntax highlighting regression test
|
||||
run: tests/syntax-tests/regression_test.sh
|
||||
- name: List of languages
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: run
|
||||
args: --release -- --list-languages
|
||||
run: bat --list-languages
|
||||
- name: List of themes
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: run
|
||||
args: --release -- --list-themes
|
||||
run: bat --list-themes
|
||||
|
||||
build:
|
||||
name: Build
|
||||
|
|
Loading…
Reference in a new issue