Update coding_convention.yaml #51
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: Coding Convention | |
on: | |
push: | |
branches: | |
- '**' | |
env: | |
BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | |
REPO_LINK: https://github.com/${{ github.repository }}.git | |
jobs: | |
job1: | |
name: Check coding convention | |
runs-on: [self-hosted, ds-sqa-hn-003] | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
ref: update-source-code-lib-iec60730 | |
- name: Check working directory | |
run: | | |
pwd | |
ls -la | |
- name: Run test | |
run: | |
pre-commit install | |
pre-commit run --all-files > CodingConventionTool.txt | |
- name: Upload Result | |
if: always() | |
uses: actions/[email protected] | |
with: | |
name: CodingConventionResult | |
path: CodingConventionTool.txt | |
warn: Output a warning but do not fail the action | |
retention-days: 90 |