Skip to content

Chore/refactor duplicated string (#4) #61

Chore/refactor duplicated string (#4)

Chore/refactor duplicated string (#4) #61

Workflow file for this run

name: test
on: [push]
jobs:
quality-gate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5.0.1
with:
go-version: ^1.22
- name: Test
run: ./scripts/test.sh
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@v2.1.0
env:
SONAR_TOKEN: ${{ secrets.SONAR_LOGIN }}
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}
with:
projectBaseDir: .
args: >
-Dsonar.projectKey=${{ secrets.SONAR_PROJECT_KEY }}