Skip to content

Commit c28033d

Browse files
committed
Added common actions
Signed-off-by: Harish P <[email protected]>
1 parent b244a3a commit c28033d

File tree

3 files changed

+20
-50
lines changed

3 files changed

+20
-50
lines changed

.github/workflows/actions.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Common Workflows
2+
on: # yamllint disable-line rule:truthy
3+
push:
4+
branches: [main]
5+
pull_request:
6+
branches: ["**"]
7+
8+
jobs:
9+
10+
# golang static analysis checks
11+
go-static-analysis:
12+
uses: dell/common-github-actions/.github/workflows/go-static-analysis.yaml@main
13+
name: Golang Validation
14+
15+
# checks unit tests, package coverage, and gosec
16+
common:
17+
name: Run gosec, unit tests, and check package coverage
18+
uses: dell/common-github-actions/.github/workflows/go-common.yml@main

.github/workflows/go-version.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Reusable workflow to perform go version update on Golang based projects
1010
name: Go Version Update
1111

12-
on:
12+
on: # yamllint disable-line rule:truthy
1313
workflow_dispatch:
1414
repository_dispatch:
1515
types: [go-update-workflow]
@@ -19,4 +19,4 @@ jobs:
1919
go-version-update:
2020
uses: dell/common-github-actions/.github/workflows/go-version-workflow.yaml@main
2121
name: Go Version Update
22-
secrets: inherit
22+
secrets: inherit

0 commit comments

Comments
 (0)