fix: Fixed docs, trace span schema & Temporal plugin wiring #7
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", "master"] | |
| pull_request: | |
| branches: ["main", "master"] | |
| jobs: | |
| lint: | |
| name: Lint (Checkstyle) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: "11" | |
| distribution: temurin | |
| cache: maven | |
| - name: Run Checkstyle | |
| run: mvn --batch-mode checkstyle:check -Dgpg.skip=true | |
| type-check: | |
| name: Type Check (compile) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: "11" | |
| distribution: temurin | |
| cache: maven | |
| - name: Compile and install library | |
| run: mvn --batch-mode install -DskipTests -Dgpg.skip=true -Dmaven.javadoc.skip=true | |
| - name: Compile examples against current library | |
| run: mvn --batch-mode -f examples/pom.xml compile -Dgpg.skip=true | |
| test: | |
| name: Unit Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: "11" | |
| distribution: temurin | |
| cache: maven | |
| - name: Run tests | |
| run: mvn --batch-mode test -Dgpg.skip=true | |
| - name: Upload test reports | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-reports | |
| path: target/surefire-reports/ | |
| integration-test: | |
| name: Integration Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: "11" | |
| distribution: temurin | |
| cache: maven | |
| - name: Run integration tests | |
| run: mvn --batch-mode test -Pintegration -Dgpg.skip=true | |
| - name: Upload integration test reports | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: integration-test-reports | |
| path: target/surefire-reports/ |