Skip to content

Add basic structure for HTTP server and web context #111

Add basic structure for HTTP server and web context

Add basic structure for HTTP server and web context #111

Workflow file for this run

name: Quality
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
name: quality
runs-on: ubuntu-20.04
steps:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: test
run: |
go install github.com/ory/go-acc@latest
go install github.com/golang/mock/mockgen@v1.6.0
go mod download
make test
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.organization=colibri-project-io
-Dsonar.projectKey=colibri-project-io_colibri-sdk-go
-Dsonar.sources=.
-Dsonar.exclusions=**/*_test.go,**/*.sql,**/*_mock.go,colibri.go
-Dsonar.tests=.
-Dsonar.test.inclusions=**/*_test.go
-Dsonar.go.coverage.reportPaths=/github/workspace/coverage.txt