Skip to content

feat: config prefix match by trie && fix: InstanceByProto get ns from instance #1449

feat: config prefix match by trie && fix: InstanceByProto get ns from instance

feat: config prefix match by trie && fix: InstanceByProto get ns from instance #1449

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Testing
on:
push:
branches:
- main
- release*
pull_request:
branches:
- main
- release*
jobs:
build:
strategy:
matrix:
java: [ 8, 11, 17 ]
os: [ 'windows-latest', 'ubuntu-latest' ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout codes
uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Test with Maven
run: mvn clean test -B -U -Psonatype --file pom.xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3