Skip to content

Commit

Permalink
Merge pull request #88 from dell/common-action
Browse files Browse the repository at this point in the history
Add common action
  • Loading branch information
sharmilarama authored Jan 9, 2025
2 parents e6dd1b2 + 5e0e02c commit cc7e269
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 100 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/actions.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/common-workflows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Common Workflows
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request:
branches: ["**"]

jobs:

# golang static analysis checks
go-static-analysis:
uses: dell/common-github-actions/.github/workflows/go-static-analysis.yaml@main
name: Golang Validation

# checks unit tests, package coverage, and gosec
common:
name: Run gosec, unit tests, and check package coverage
uses: dell/common-github-actions/.github/workflows/go-common.yml@main
2 changes: 1 addition & 1 deletion .github/workflows/go-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Reusable workflow to perform go version update on Golang based projects
name: Go Version Update

on:
on: # yamllint disable-line rule:truthy
workflow_dispatch:
repository_dispatch:
types: [go-update-workflow]
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/linters.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release CSI-Metadata-Retriever
# Invocable as a reusable workflow
# Can be manually triggered
on: # yamllint disable-line rule:truthy
on: # yamllint disable-line rule:truthy
workflow_call:
workflow_dispatch:
inputs:
Expand Down
30 changes: 0 additions & 30 deletions .golangci.yaml

This file was deleted.

0 comments on commit cc7e269

Please sign in to comment.