Skip to content

Commit 5c5fee4

Browse files
committed
Remove separate linting job and add it to build job.
1 parent f9db6a8 commit 5c5fee4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/docker-publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
IMAGE_NAME: cblauvelt/vscode-cpp
2121

2222
jobs:
23-
build:
23+
build-and-publish:
2424
runs-on: ubuntu-latest
2525
permissions:
2626
contents: read
@@ -30,6 +30,11 @@ jobs:
3030
- name: Checkout repository
3131
uses: actions/checkout@v2
3232

33+
- name: Check for linting errors
34+
- uses: hadolint/[email protected]
35+
with:
36+
dockerfile: Dockerfile
37+
3338
# Login against a Docker registry except on PR
3439
# https://github.com/docker/login-action
3540
- name: Log into registry ${{ env.REGISTRY }}

0 commit comments

Comments
 (0)