Skip to content

Commit a94d1aa

Browse files
committed
Feature: Init GitHub actions
- Added Dockerfile lint;
1 parent da6ac76 commit a94d1aa

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/main.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
99
echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
1010
echo "🔎 The name of branch is ${{ github.ref }} and repository is ${{ github.repository }}."
11-
- name: Check out repository code
11+
- name: Checkout
1212
uses: actions/checkout@v3
1313
- run: |
1414
echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
@@ -19,4 +19,15 @@ jobs:
1919
- name: Run tests
2020
run: |
2121
cd ${{ github.workspace }}/tests/install && ${{ github.workspace }}/tests/run-test-install.sh -c
22-
- run: echo "🍏 This job's status is ${{ job.status }}."
22+
- run: echo "🍏 This job's status is ${{ job.status }}."
23+
lint:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v3
28+
- name: lint
29+
uses: luke142367/[email protected]
30+
with:
31+
target: src/build/php/Dockerfile
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)