Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shijl0925 authored Jul 6, 2024
1 parent 21e48ac commit 22f9d6e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ jobs:
repository: 'sonarqube-gen'

- name: Build sonarqube-gen
run: ls -la; cd sonarqube-gen;go build -v -o main ./...;cp main ../;rm -rf sonarqube-gen
- name: Generate code
run: ./main --host="https://next.sonarqube.com/sonarqube" --internal=false
run: |
cd sonarqube-gen
go build -v -o main ./...
mkdir sonarqube
./main --host="https://next.sonarqube.com/sonarqube" --internal=false
- name: Rewrite code
run: |
cp -r sonarqube-gen/sonarqube ./
git diff

0 comments on commit 22f9d6e

Please sign in to comment.