Skip to content

Commit

Permalink
v2.5.0 更新父模版
Browse files Browse the repository at this point in the history
  • Loading branch information
ALI1416 committed Mar 22, 2023
1 parent 409bbe7 commit ca4e1ef
Show file tree
Hide file tree
Showing 7 changed files with 464 additions and 101 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Java CI

on:
push:
branches: [ "master" ]
paths-ignore:
- '**.md'
pull_request:
branches: [ "master" ]
paths-ignore:
- '**.md'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven

- name: Build with Maven
run: mvn clean install -P jacoco

- name: Analyze with SonarCloud
env:
ORGANIZATION: ali1416
PROJECT_KEY: ALI1416_id
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
run: mvn sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=$ORGANIZATION -Dsonar.projectKey=$PROJECT_KEY -Dsonar.login=$SONAR_TOKEN
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

0 comments on commit ca4e1ef

Please sign in to comment.