Bump org.apache.httpcomponents.client5:httpclient5 from 5.3.1 to 5.4 #308
Workflow file for this run
This file contains 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: build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
DISPLAY: :99 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout GitHub repo | |
uses: actions/checkout@v2 | |
- name: Set up Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Start Xvfb | |
run: Xvfb :99 & | |
- name: Test with Maven | |
run: mvn -B test | |
- name: Test with Gradle | |
run: ./gradlew test | |
- name: Upload analysis to SonarCloud | |
if: success() && !contains(github.ref, 'pull') | |
run: > | |
mvn -B sonar:sonar | |
-Dsonar.host.url=https://sonarcloud.io | |
-Dsonar.organization=bonigarcia-github | |
-Dsonar.projectKey=io.github.bonigarcia:rate-my-cat | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 |