Skip to content

fix(server): ignore cover.out file since ci pipeline generates it now #11

fix(server): ignore cover.out file since ci pipeline generates it now

fix(server): ignore cover.out file since ci pipeline generates it now #11

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: build & test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: test
uses: actions/setup-go@v5.1.0
with:
go-version: 1.23.0
- run: go test -json -coverprofile=cover.out ./server...
- name: SonarQube Cloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}