feat: add TLS configuration support to Java SDK #2455
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint/Test Rust Engines | |
on: | |
pull_request: | |
branches-ignore: | |
- release/* | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
env: | |
CARGO_TERM_COLOR: always | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
run: rustup update stable | |
- name: Test | |
run: cargo test --all-features | |
- name: Install wasm-pack | |
run: cargo install wasm-pack | |
- name: Test wasm (js) | |
run: wasm-pack test --node | |
working-directory: flipt-engine-wasm-js | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
env: | |
CARGO_TERM_COLOR: always | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
run: rustup update stable | |
- name: Check Formatting | |
run: cargo fmt --all -- --check | |
- name: Clippy | |
run: cargo clippy --all -- -D warnings | |
coverage: | |
name: Coverage | |
runs-on: ubuntu-latest | |
env: | |
CARGO_TERM_COLOR: always | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
run: rustup update stable | |
- name: Install cargo-llvm-cov | |
uses: taiki-e/install-action@cargo-llvm-cov | |
- name: Generate code coverage | |
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: lcov.info | |
fail_ci_if_error: true |