@@ -14,7 +14,7 @@ jobs:
14 runs-on: ubuntu-latest
14 runs-on: ubuntu-latest
16 - uses: actions/checkout@v1
16 - uses: actions/checkout@v1
17− - name: Install `rust` toolchain (v${{ env.MIN_SUPPORTED_RUST_VERSION }})
17+ - name: Install rust toolchain (v${{ env.MIN_SUPPORTED_RUST_VERSION }})
18 uses: actions-rs/toolchain@v1
18 uses: actions-rs/toolchain@v1
20 toolchain: ${{ env.MIN_SUPPORTED_RUST_VERSION }}
20 toolchain: ${{ env.MIN_SUPPORTED_RUST_VERSION }}
@@ -25,6 +25,31 @@ jobs:
26 command: test
26 command: test
28+ test_with_new_syntaxes_and_themes:
29+ name: Test with new syntaxes and themes
30+ runs-on: ubuntu-latest
33+ uses: actions/checkout@v1
34+ - name: Install Rust toolchain
35+ uses: actions-rs/toolchain@v1
40+ - name: Build and install bat
41+ uses: actions-rs/cargo@v1
44+ args: --locked --release
45+ - name: Rebuild binary assets (syntaxes and themes)
46+ run: bash assets/create.sh
47+ - name: Run tests with new syntaxes and themes
48+ uses: actions-rs/cargo@v1
29 name: Build
54 name: Build
30 runs-on: ${{ matrix.job.os }}
55 runs-on: ${{ matrix.job.os }}