forked from omec-project/upf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GHA for
hadolint
(omec-project#784)
- Loading branch information
1 parent
044fe55
commit a41edcc
Showing
2 changed files
with
20 additions
and
2 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 |
---|---|---|
|
@@ -29,6 +29,23 @@ jobs: | |
version: latest | ||
args: -v --config ./.golangci.yml | ||
|
||
hadolint: | ||
name: hadolint | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Dockerfile linter | ||
uses: hadolint/[email protected] | ||
# For now, ignoring: | ||
# DL3007 warning: Pin the version explicitily to a release tag (no latest); | ||
# DL3008 warning: Pin versions in apt get install (e.g., apt-get install <package>=<version>); and | ||
# DL3018 warning: Pin versions in apk add (e.g., apk add <package>=<version>) | ||
with: | ||
dockerfile: Dockerfile | ||
ignore: DL3007,DL3008,DL3018 | ||
|
||
check-spelling: | ||
name: Markdown spellcheck | ||
runs-on: ubuntu-latest | ||
|
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