Skip to content

Allow overriding the diagnostics service name (#55) #366

Allow overriding the diagnostics service name (#55)

Allow overriding the diagnostics service name (#55) #366

Workflow file for this run

name: Proxy CI
on:
push:
branches: [ '*' ]
paths-ignore:
- 'charts/**'
- '**/*.md'
pull_request:
branches: [ main ]
paths-ignore:
- 'charts/**'
- '**/*.md'
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: stable
- name: Vet
run: go vet -tags testing ./...
- name: Test
run: go test -tags testing ./...
- name: Test with race
run: go test -tags testing -race ./...
coverage:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: stable
- name: Run Coverage
run: go test -tags testing -coverprofile=coverage.out -covermode=atomic ./...
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}