Skip to content

refactor: protocol message #14

refactor: protocol message

refactor: protocol message #14

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@v4
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 ./src/core -coverprofile=coverage.out
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ github.token }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}