Add SecretName in TLS + adapt github actions #95

Merged
metal3d merged 5 commits from develop into master 2024-12-05 06:16:33 +00:00
Showing only changes of commit 23d0afd85f - Show all commits

View File

@@ -12,6 +12,12 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/upload-artifact@v4
with:
name: tests-results
path: |
coverprofile.out
gotest.json
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
@@ -25,6 +31,13 @@ jobs:
- name: Launch Test - name: Launch Test
run: | run: |
go vet ./... && go test -coverprofile=coverprofile.out -json -v ./... > gotest.json go vet ./... && go test -coverprofile=coverprofile.out -json -v ./... > gotest.json
sonar:
runs-on: ubuntu-latest
needs: tests
steps:
- uses: actions/download-artifact@v4
with:
name: tests-results
- name: SonarCloud Scan - name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master uses: SonarSource/sonarcloud-github-action@master
env: env: