diff options
author | Martin Nordholts <enselic@gmail.com> | 2022-09-04 20:44:23 +0200 |
---|---|---|
committer | Martin Nordholts <enselic@gmail.com> | 2022-09-04 20:44:23 +0200 |
commit | 2dd2994b2f106ef7d2af83d0961cadfea759d339 (patch) | |
tree | 94d9a02e8c9512c74ed6f57551c9409e17d9d797 /.github | |
parent | 6b660ef63a94154c0e0ce05ae898b3283c090c4b (diff) | |
parent | 48541b850768a2534a6a55491353eebbdf9f668f (diff) |
Merge remote-tracking branch 'origin/master' into feature/668/add-systemwide-config
Diffstat (limited to '.github')
-rw-r--r-- | .github/ISSUE_TEMPLATE/bug_report.md | 21 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/question.md | 2 | ||||
-rw-r--r-- | .github/workflows/CICD.yml | 22 |
3 files changed, 39 insertions, 6 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index aedf6e9c..b1732b43 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -7,9 +7,26 @@ assignees: '' --- -<!-- Hey there, thank you for creating an issue! --> +<!-- + +Hey there, thank you for reporting a bug! + +Please note that the following bugs have already been reported: + +* dpkg: error processing archive /some/path/some-program.deb (--unpack): + trying to overwrite '/usr/.crates2.json' + + See https://github.com/sharkdp/bat/issues/938 + +--> + +**What steps will reproduce the bug?** + +1. step 1 +2. step 2 +3. ... -**Describe the bug you encountered:** +**What happens?** ... diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md index c2ad5607..d8c95bc5 100644 --- a/.github/ISSUE_TEMPLATE/question.md +++ b/.github/ISSUE_TEMPLATE/question.md @@ -7,3 +7,5 @@ assignees: '' --- +<!-- Using a normal ticket is still fine, but feel free to ask your +questions about bat on https://github.com/sharkdp/bat/discussions instead. --> diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 710bd4f2..2ccb2f32 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -1,7 +1,7 @@ name: CICD env: - MIN_SUPPORTED_RUST_VERSION: "1.51.0" + MIN_SUPPORTED_RUST_VERSION: "1.60.0" CICD_INTERMEDIATES_DIR: "_cicd-intermediates" on: @@ -39,6 +39,8 @@ jobs: min_version: name: Minimum supported rust version runs-on: ubuntu-20.04 + env: + MSRV_FEATURES: --no-default-features --features minimal-application,bugreport,build-assets steps: - name: Checkout source code uses: actions/checkout@v2 @@ -54,12 +56,12 @@ jobs: uses: actions-rs/cargo@v1 with: command: clippy - args: --locked --all-targets --all-features + args: --locked --all-targets ${{ env.MSRV_FEATURES }} - name: Run tests uses: actions-rs/cargo@v1 with: command: test - args: --locked + args: --locked ${{ env.MSRV_FEATURES }} test_with_new_syntaxes_and_themes: name: Run tests with updated syntaxes and themes @@ -144,6 +146,18 @@ jobs: toolchain: stable default: true profile: minimal + - name: Print -h + uses: actions-rs/cargo@v1 + with: + command: run + args: --locked -- -h + - name: Print --help + uses: actions-rs/cargo@v1 + with: + command: run + args: --locked -- --help + - name: Show man page + run: man $(find . -name bat.1) - name: Check documentation env: RUSTDOCFLAGS: -D warnings @@ -168,7 +182,7 @@ jobs: - { target: x86_64-apple-darwin , os: macos-10.15 } - { target: x86_64-pc-windows-gnu , os: windows-2019 } - { target: x86_64-pc-windows-msvc , os: windows-2019 } - - { target: x86_64-unknown-linux-gnu , os: ubuntu-20.04 } + - { target: x86_64-unknown-linux-gnu , os: ubuntu-20.04, use-cross: true } - { target: x86_64-unknown-linux-musl , os: ubuntu-20.04, use-cross: true } steps: - name: Checkout source code |