Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Bump github.com/stretchr/testify from 1.8.2 to 1.9.0 in /terraform/test #912

Bump github.com/stretchr/testify from 1.8.2 to 1.9.0 in /terraform/test

Bump github.com/stretchr/testify from 1.8.2 to 1.9.0 in /terraform/test #912

Workflow file for this run

name: sonar
on:
workflow_dispatch:
pull_request:
push:
jobs:
sonar:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Unit Tests
working-directory: src
run: go test -v ./...
- name: Generate Coverage Report
working-directory: src
run: |
go test -json -coverprofile=cover.out ./... > result.json
go tool cover -func cover.out
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
with:
projectBaseDir: src
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}