Skip to content

Commit

Permalink
added common actions
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Nov 8, 2024
1 parent 93f3a73 commit 0192098
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 109 deletions.
108 changes: 0 additions & 108 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

Check failure on line 18 in .github/workflows/common-workflows.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

18:74 [new-line-at-end-of-file] no new line character at the end of file
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

Check warning on line 12 in .github/workflows/go-version.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

12:5 [comments] too few spaces before comment
workflow_dispatch:
repository_dispatch:
types: [go-update-workflow]
Expand Down

0 comments on commit 0192098

Please sign in to comment.