-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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 | ||
|
||
|
@@ -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] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|