Skip to content

Commit d45baf7

Browse files
committed
Add linting job to GitHub Actions workflow and remove obsolete lint file
1 parent aae920a commit d45baf7

File tree

2 files changed

+12
-21
lines changed

2 files changed

+12
-21
lines changed

.github/workflows/service_docker-build-and-publish.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,19 @@ on:
66
type: string
77

88
jobs:
9+
lint:
10+
runs-on: ubuntu-22.04
11+
steps:
12+
- name: Check out code
13+
uses: actions/checkout@v4
14+
15+
- name: Analyze workflow files
16+
uses: docker://rhysd/actionlint:1.7.6
17+
with:
18+
args: "-color -verbose -shellcheck="
19+
920
docker-publish:
21+
needs: lint
1022
runs-on: ubuntu-22.04
1123
steps:
1224
- name: Check out code

.github/workflows/test_github-actions-lint.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)