Skip to content

Commit

Permalink
feat: [#31] Install and execute YAMLlint (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbp-bvanb committed Jun 4, 2024
1 parent 2f037a5 commit 1403d92
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mcvs-golang-action
# MCVS-golang-action

Mission Critical Vulnerability Scanner (MCVS) Golang Action is a custom
[GitHub Action](https://github.com/features/actions) that consists of the
Expand All @@ -19,7 +19,7 @@ following steps:

In summary, using this action will ensure that Golang code meets certain
standards before it will be deployed to production as the assembly line will
fail if an issue arrises.
fail if an issue arises.

## usage

Expand All @@ -30,7 +30,7 @@ Create a `.github/workflows/golang.yml` file with the following content:
name: Golang
'on': push
jobs:
mvcs-golang-action:
MCVS-golang-action:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
Expand Down
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ runs:
using: "composite"
steps:
#
# YAML linting.
#
- run: |
pip install --user yamllint==1.35.1
yamllint .
shell: bash
#
# Install the golang version that has been defined in the go.mod file.
#
- uses: actions/[email protected]
Expand Down

0 comments on commit 1403d92

Please sign in to comment.