Skip to content

Commit

Permalink
add workflow to lint dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
capnspacehook authored Oct 28, 2022
1 parent 6d086cf commit a76a753
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/lint-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint Dockerfile

on:
push:
paths:
- Dockerfile

jobs:
lint-dockerfile:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- uses: hadolint/hadolint-action@v2
with:
dockerfile: Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint
name: Lint Go

on:
push:
Expand Down

0 comments on commit a76a753

Please # to comment.