Skip to content

Commit

Permalink
Reorder lint_po to be before longer pulp checks (#1176)
Browse files Browse the repository at this point in the history
No-Issue
  • Loading branch information
awcrosby authored Mar 17, 2022
1 parent bb1ce0f commit a377403
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 22 deletions.
11 changes: 0 additions & 11 deletions .github/post-job-template.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,3 @@
MANIFEST_PASSPHRASE: {{ "${{ secrets.MANIFEST_PASSPHRASE }}" }}
run: .github/workflows/scripts/update_manifest.sh
shell: bash

lint_po:
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout code
uses: actions/checkout@v2

- run: |
pip install lint-po
lint-po ./galaxy_ng/locale/*/LC_MESSAGES/*.po
10 changes: 10 additions & 0 deletions .github/pre-job-template.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,13 @@ check_commit:
END_COMMIT: {{ "${{ github.event.after }}" }}
run: |
python .ci/scripts/validate_commit_message_custom.py

lint_po:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- run: |
pip install lint-po
lint-po ./galaxy_ng/locale/*/LC_MESSAGES/*.po
21 changes: 10 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ jobs:
run: |
python .ci/scripts/validate_commit_message_custom.py
lint_po:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- run: |
pip install lint-po
lint-po ./galaxy_ng/locale/*/LC_MESSAGES/*.po
lint:
runs-on: ubuntu-latest
needs: check_commit
Expand Down Expand Up @@ -222,14 +232,3 @@ jobs:
MANIFEST_PASSPHRASE: ${{ secrets.MANIFEST_PASSPHRASE }}
run: .github/workflows/scripts/update_manifest.sh
shell: bash

lint_po:
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout code
uses: actions/checkout@v2

- run: |
pip install lint-po
lint-po ./galaxy_ng/locale/*/LC_MESSAGES/*.po

0 comments on commit a377403

Please sign in to comment.