refactor: protocol message #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |