Include EIMIS modules to Synapse image #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
pull_request: | |
branches: [main] | |
workflow_call: | |
jobs: | |
lint-markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Lint markdown files | |
uses: avto-dev/[email protected] | |
with: | |
args: "**/*.md" | |
lint-yaml: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Lint yaml files | |
uses: ibiqlik/[email protected] | |
lint-dockerfile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Changed files | |
id: changed-dockerfiles | |
uses: tj-actions/[email protected] | |
with: | |
separator: " " | |
files: Dockerfile | |
- name: Lint dockerfile (hadolint) | |
if: steps.changed-dockerfiles.outputs.any_changed == 'true' | |
uses: hadolint/[email protected] | |
with: | |
dockerfile: Dockerfile | |
recursive: true | |
verbose: true |