Skip to content

Commit

Permalink
[ci] add Dockerfile linting (fixes uptake#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Aug 15, 2020
1 parent 41b143f commit 2993b9b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: linting

# only run this workflow on new commits to master
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
name: ${{ matrix.task }}
runs-on: macos-latet
strategy:
fail-fast: false
matrix:
include:
- task: lint-dockerfile
steps:
- name: checkout repository
uses: actions/checkout@v1
- name: lint dockerfile
shell: bash
run: |
brew upgrade
brew install hadolint
hadolint Dockerfile

0 comments on commit 2993b9b

Please sign in to comment.