summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMartin Nordholts <enselic@gmail.com>2022-08-18 10:20:31 +0200
committerMartin Nordholts <enselic@gmail.com>2022-08-25 19:27:55 +0200
commit621ab6078f7a0f980e55565a6e199c08f28e0de2 (patch)
treee165c48e98ede3892469ea9fcb1dd85395885af8 /.github
parent020492f7e6a6e267a8ddfdc5859e328d0e9354ac (diff)
CI: Check MSRV without git feature enabled
git2-rs MSRV policy is to only support latest stable rust (see https://github.com/rust-lang/git2-rs#rust-version-requirements), so it does not make sense to run our MSRV tests with git enabled.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/CICD.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml
index 97c2348f..39e12d8d 100644
--- a/.github/workflows/CICD.yml
+++ b/.github/workflows/CICD.yml
@@ -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