You've already forked ddns-updater
dockerfile lint
This commit is contained in:
20
.github/workflows/quality-checks.yml
vendored
20
.github/workflows/quality-checks.yml
vendored
@@ -8,6 +8,16 @@ on:
|
|||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
jobs:
|
jobs:
|
||||||
|
docker-lint:
|
||||||
|
name: Dockerfile lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: addnab/docker-run-action@v3
|
||||||
|
image: hadolint/hadolint:latest-debian
|
||||||
|
options: -v ${{ github.workspace }}:/
|
||||||
|
run: |
|
||||||
|
hadolint Dockerfile
|
||||||
golangci:
|
golangci:
|
||||||
name: Static code check
|
name: Static code check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -68,13 +78,3 @@ jobs:
|
|||||||
echo "Failed"
|
echo "Failed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
docker-lint:
|
|
||||||
name: Dockerfile lint
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: addnab/docker-run-action@v3
|
|
||||||
image: hadolint/hadolint:latest-debian
|
|
||||||
options: -v ${{ github.workspace }}:/
|
|
||||||
run: |
|
|
||||||
hadolint Dockerfile
|
|
||||||
Reference in New Issue
Block a user