on master help sign in
Add --diagnostic run to CI
commit99a61580e1c5c290e1e080b059cf29c55c381a6f authorsharkdp <davidpeter@web.de> dateFri 1 Jan 2021, 21:51 (6 years ago) parentdec94b4
1 file changed+7−1
.github/workflows/CICD.yml+7−1
.github/workflows/CICD.yml+7−1
@@ -226,7 +226,13 @@ jobs:
226226 with:
227227 use-cross: ${{ steps.vars.outputs.CARGO_USE_CROSS }}
228228 command: run
229− args: --target=${{ matrix.job.target }} ${{ matrix.job.cargo-options }} -- --paging=never --color=always --theme=ansi-dark Cargo.toml src/config.rs
229+ args: --target=${{ matrix.job.target }} ${{ matrix.job.cargo-options }} -- --paging=never --color=always --theme=ansi Cargo.toml src/config.rs
230+ - name: bat diagnostics output
231+ uses: actions-rs/cargo@v1
232+ with:
233+ use-cross: ${{ steps.vars.outputs.CARGO_USE_CROSS }}
234+ command: run
235+ args: --target=${{ matrix.job.target }} ${{ matrix.job.cargo-options }} -- --paging=never --color=always --theme=ansi Cargo.toml src/config.rs --diagnostic
230236 - name: Check features regex-onig
231237 uses: actions-rs/cargo@v1
232238 with: