dockerfile lint

This commit is contained in:
mkelcik
2023-04-28 23:44:44 +02:00
parent a9e9f832e9
commit 2a23c41aaa

View File

@@ -13,14 +13,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: addnab/docker-run-action@v3 - uses: hadolint/hadolint-action@v3.1.0
with: with:
image: hadolint/hadolint:latest-debian dockerfile: Dockerfile
options: -v ${{ github.workspace }}:/work
run: |
cd /work
echo "Running Dockerfile lint"
hadolint Dockerfile
golangci: golangci:
name: Static code check name: Static code check
runs-on: ubuntu-latest runs-on: ubuntu-latest