Skip to content

Commit c3a96c4

Browse files
committed
feature: migrate to [email protected] general workflow
1 parent 1eed893 commit c3a96c4

File tree

3 files changed

+16
-41
lines changed

3 files changed

+16
-41
lines changed

.github/workflows/build-on-commit.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/go-build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Go build
2+
3+
on:
4+
push:
5+
pull_request:
6+
types: [ opened, synchronize, reopened ]
7+
8+
jobs:
9+
build:
10+
uses: netcracker/qubership-core-infra/.github/workflows/[email protected]
11+
with:
12+
actor: ${{ github.actor }}
13+
sonar-project-key: ${{ vars.SONAR_PROJECT_KEY }}
14+
secrets:
15+
sonar-token: ${{ secrets.SONAR_TOKEN }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[![Go build](https://github.com/Netcracker/qubership-core-lib-go-maas-bg-segmentio/actions/workflows/go-build.yml/badge.svg)](https://github.com/Netcracker/qubership-core-lib-go-maas-bg-segmentio/actions/workflows/go-build.yml)
12
[![Coverage](https://sonarcloud.io/api/project_badges/measure?metric=coverage&project=Netcracker_qubership-core-lib-go-maas-bg-segmentio)](https://sonarcloud.io/summary/overall?id=Netcracker_qubership-core-lib-go-maas-bg-segmentio)
23
[![duplicated_lines_density](https://sonarcloud.io/api/project_badges/measure?metric=duplicated_lines_density&project=Netcracker_qubership-core-lib-go-maas-bg-segmentio)](https://sonarcloud.io/summary/overall?id=Netcracker_qubership-core-lib-go-maas-bg-segmentio)
34
[![vulnerabilities](https://sonarcloud.io/api/project_badges/measure?metric=vulnerabilities&project=Netcracker_qubership-core-lib-go-maas-bg-segmentio)](https://sonarcloud.io/summary/overall?id=Netcracker_qubership-core-lib-go-maas-bg-segmentio)

0 commit comments

Comments
 (0)