Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
RVANDO12 authored Oct 6, 2023
1 parent 9e0de1d commit b85f412
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@ jobs:
with:
languages: java
config-file: .github/codeql/codeql-api-config.yml
- name: Cache SonarCloud packages
uses: actions/cache@v2
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Add host binding
run: sudo echo "127.0.0.1 oauth2.dev.localhost" >> sudo tee -a /etc/hosts
- name: Set up QEMU
Expand All @@ -136,11 +130,6 @@ jobs:
run: docker-compose -f code/docker-compose.dev.yaml up -d oauth2-dev-server
- name: check oauth2-dev-server is running
run: docker run --rm --network host aligor/wait-for-url --url http://oauth2.dev.localhost:9001/actuator/health
- name: Build and analyze
run: mvn -f code/api -B clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: stop oauth2-dev-server
run: docker-compose -f code/docker-compose.dev.yaml down
- name: Install xmllint
Expand Down Expand Up @@ -213,15 +202,6 @@ jobs:
PROJECT_VERSION=$(make -s get-web-ui-version)
popd
echo ::set-output name=projectVersion::${PROJECT_VERSION}
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
with:
projectBaseDir: code/web-ui
args: >
-Dsonar.projectVersion=${{ steps.getVersion.outputs.projectVersion }}
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Prepare
id: prep
run: |
Expand Down

0 comments on commit b85f412

Please sign in to comment.