Skip to content

Merge pull request #30 from cam-inc/feature/fix-pubsub-env-template #149

Merge pull request #30 from cam-inc/feature/fix-pubsub-env-template

Merge pull request #30 from cam-inc/feature/fix-pubsub-env-template #149

Workflow file for this run

name: Build
on:
push:
branches:
- '**'
pull_request:
types: [opened, reopened]
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Test
run: go test --tags=test -coverprofile=cover.out $(go list ./... | grep -v mxtransporter/cmd)
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}