fix: correct YAML indentation in workflow
This commit is contained in:
parent
40235d62a8
commit
fae3ee2c24
1 changed files with 12 additions and 12 deletions
|
|
@ -36,20 +36,20 @@ jobs:
|
|||
container:
|
||||
image: node:20-alpine
|
||||
steps:
|
||||
- name: Manual Git Checkout and Prepare
|
||||
run: |
|
||||
apk add --no-cache git curl bash
|
||||
git init
|
||||
git remote add origin ${{ env.REPO_URL }}/${{ GITEA_REPO }}.git
|
||||
git fetch --depth 1 origin ${{ GITEA_REF }}
|
||||
git checkout FETCH_HEAD
|
||||
- name: Manual Git Checkout and Prepare
|
||||
run: |
|
||||
apk add --no-cache git curl bash
|
||||
git init
|
||||
git remote add origin ${{ env.REPO_URL }}/${{ GITEA_REPO }}.git
|
||||
git fetch --depth 1 origin ${{ GITEA_REF }}
|
||||
git checkout FETCH_HEAD
|
||||
|
||||
- name: Install Node.js and Sonar Scanner
|
||||
run: |
|
||||
apk add --no-cache nodejs npm curl
|
||||
npm install -g sonarqube-scanner
|
||||
- name: Install Node.js and Sonar Scanner
|
||||
run: |
|
||||
apk add --no-cache nodejs npm curl
|
||||
npm install -g sonarqube-scanner
|
||||
|
||||
- name: SonarQube Scan
|
||||
- name: SonarQube Scan
|
||||
env:
|
||||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue