fix: update Jackson for polymorphic type safety #98
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| memtruth-sdk: | |
| name: memtruth-sdk (rust 1.95) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Rust 1.95 | |
| run: | | |
| rustup toolchain install 1.95.0 --profile minimal --component clippy,rustfmt | |
| rustup default 1.95.0 | |
| - name: Format | |
| working-directory: memtruth-sdk | |
| run: cargo fmt --check | |
| - name: Test | |
| working-directory: memtruth-sdk | |
| run: cargo test | |
| - name: Clippy | |
| working-directory: memtruth-sdk | |
| run: cargo clippy --all-targets -- -D warnings | |
| build: | |
| name: build (${{ matrix.java }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| java: ['25'] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java }} | |
| cache: maven | |
| - name: Style and static checks | |
| run: mvn -B -ntp spotless:check checkstyle:check | |
| - name: Verify (unit + integration + recorded LLM + coverage) | |
| run: mvn -B -ntp verify -P recorded | |
| - name: Resolve project version | |
| run: echo "PROJECT_VERSION=$(mvn -q -DforceStdout help:evaluate -Dexpression=project.version)" >> "$GITHUB_ENV" | |
| - name: Compile quickstart against packaged SDK | |
| run: scripts/compile-quickstart.sh | |
| - name: Package CLI release artifacts | |
| run: scripts/package-cli-release.sh --version "${PROJECT_VERSION}" | |
| - name: Smoke CLI release tarball | |
| run: scripts/smoke-cli-release.sh --version "${PROJECT_VERSION}" | |
| - name: Generate SBOM | |
| run: mvn -B -ntp -DskipTests cyclonedx:makeAggregateBom | |
| - name: Upload surefire reports on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: surefire-${{ matrix.java }} | |
| path: | | |
| **/target/surefire-reports | |
| **/target/failsafe-reports | |
| retention-days: 7 |