Skip to content

Commit

Permalink
Merge pull request #68 from dell/feature/common-actions
Browse files Browse the repository at this point in the history
updated common actions
  • Loading branch information
mjsdell authored Nov 13, 2024
2 parents bb25332 + bb0e22d commit 785d73d
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 114 deletions.
50 changes: 0 additions & 50 deletions .github/workflows/actions.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/common-workflows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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

common:
name: Quality Checks
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.

5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ name: Release Gobrick
# Invocable as a reusable workflow
# Can be manually triggered
on:

Check warning on line 4 in .github/workflows/release.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

4:1 [truthy] truthy value should be one of [false, true]
workflow_call:
workflow_call:
workflow_dispatch:
inputs:
version:
description: 'Version to release (major, minor, patch)'
description: 'Version to release (major, minor, patch) Ex: 1.0.0'
required: true
default: 'none'
jobs:
csm-release:
uses: dell/common-github-actions/.github/workflows/csm-release-libs.yaml@main
Expand Down
30 changes: 0 additions & 30 deletions .golangci.yaml

This file was deleted.

0 comments on commit 785d73d

Please sign in to comment.