Skip to content

Merge pull request #1649 from daizhenyu/develop-xds-router-plugin #954

Merge pull request #1649 from daizhenyu/develop-xds-router-plugin

Merge pull request #1649 from daizhenyu/develop-xds-router-plugin #954

Workflow file for this run

name: CI
on:
push:
pull_request:
branches:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
checkstyle:
name: Checkstyle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: reviewdog/action-setup@v1
with:
reviewdog_version: v0.18.1
- name: download checkstyle
run: curl -o checkstyle.jar -L https://github.com/checkstyle/checkstyle/releases/download/checkstyle-8.41.1/checkstyle-8.41.1-all.jar
- name: checkstyle
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
java -jar checkstyle.jar -c checkstyle.xml -f xml . | reviewdog -f=checkstyle -name="Checkstyle Check" -reporter=github-pr-check -level=error
build:
runs-on: windows-latest
name: build
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
cache: maven
- name: Create License Binary Suffix
run: |
mvn license:aggregate-add-third-party
- name: Build with Maven
run: |
mvn clean package -P agent -P package -DskipTests
mkdir ${{ github.workspace }}/package
cp ${{ github.workspace }}/sermant-agent-*.tar ${{ github.workspace }}/package
- name: upload package
uses: actions/upload-artifact@v4
with:
name: sermant
path: ${{ github.workspace }}/package