Skip to content

refactor: protocol message #9

refactor: protocol message

refactor: protocol message #9

Workflow file for this run

name: Pull Request
permissions:
contents: read
on:
push:
branches: [main]
pull_request:
branches: [main, dev]
jobs:
build:
name: CI
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup GO
uses: actions/setup-go@v5
with:
go-version-file: './go.work'
- name: Running Lint (go vet)
run: go vet -json ./src/core > govetoutput.json
- name: Running Test
run: go test ./core -coverprofile=coverage.out
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ github.token }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}