diff --git a/.github/workflows/kuksa_databroker_build.yml b/.github/workflows/kuksa_databroker_build.yml index 7765acab..d5c6ff65 100644 --- a/.github/workflows/kuksa_databroker_build.yml +++ b/.github/workflows/kuksa_databroker_build.yml @@ -130,6 +130,12 @@ jobs: with: files: lcov.info token: ${{ secrets.CODECOV_TOKEN }} + - uses: taiki-e/install-action@v2.9.4 + with: + tool: cargo-hack@0.6 + - name: "Check each feature" + working-directory: ${{github.workspace}} + run: cargo hack check --each-feature build: name: Build diff --git a/databroker-cli/src/cli.rs b/databroker-cli/src/cli.rs index 812656f5..71938d73 100644 --- a/databroker-cli/src/cli.rs +++ b/databroker-cli/src/cli.rs @@ -61,6 +61,7 @@ pub struct Cli { } impl Cli { + #[cfg(feature = "tls")] pub fn get_ca_cert(&mut self) -> Option { self.ca_cert.clone() }