Skip to content

Commit 1ef7c40

Browse files
authored
Merge pull request dell#53 from dell/feature/common-actions
Added common actions
2 parents b244a3a + b231c3d commit 1ef7c40

File tree

6 files changed

+21
-113
lines changed

6 files changed

+21
-113
lines changed

.github/workflows/actions.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
common:
16+
name: Quality Checks
17+
uses: dell/common-github-actions/.github/workflows/go-common.yml@main

.github/workflows/go-version.yaml

Lines changed: 1 addition & 1 deletion
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]

.github/workflows/linters.yaml

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

.github/workflows/release.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
name: Release GoFSUtil
22
# Invocable as a reusable workflow
33
# Can be manually triggered
4-
on:
5-
workflow_call:
4+
on: # yamllint disable-line rule:truthy
5+
workflow_call:
66
workflow_dispatch:
77
inputs:
88
version:
9-
description: 'Version to release (major, minor, patch)'
9+
description: 'Version to release (major, minor, patch) Ex: 1.0.0'
1010
required: true
11-
default: 'none'
1211
jobs:
1312
csm-release:
1413
uses: dell/common-github-actions/.github/workflows/csm-release-libs.yaml@main

.golangci.yaml

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

0 commit comments

Comments
 (0)