Skip to content

Commit 3023c18

Browse files
committed
Add PR tests
1 parent 8b3ca51 commit 3023c18

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/pr.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Pull Request Tests
3+
4+
'on':
5+
pull_request:
6+
branches:
7+
- main
8+
- master
9+
push:
10+
branches:
11+
- main
12+
- master
13+
14+
jobs:
15+
hadolint:
16+
name: Lint Dockerfile
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v5
21+
22+
- name: Run hadolint
23+
uses: hadolint/hadolint-action@v3.3.0
24+
with:
25+
dockerfile: Dockerfile
26+
failure-threshold: warning

0 commit comments

Comments
 (0)