Allow building of the ufs-weather-model, WW3 pre/post execs for GFS, GEFS, SFS in the same clone of global-workflow #7936
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: shellnorms | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
defaults: | |
run: | |
shell: bash -o pipefail {0} | |
jobs: | |
lint-shell: | |
runs-on: ubuntu-22.04 | |
permissions: | |
security-events: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- id: ShellCheck | |
name: Lint shell scripts | |
uses: redhat-plumbers-in-action/differential-shellcheck@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- if: ${{ always() }} | |
name: Upload artifact with ShellCheck defects in SARIF format | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Differential ShellCheck SARIF | |
path: ${{ steps.ShellCheck.outputs.sarif }} | |
# lint-python: | |
# runs-on: ubuntu-latest | |
# permissions: | |
# security-events: write | |
# steps: | |
# - name: Checkout code | |
# uses: actions/checkout@v3 | |
# - id: VCS_Diff_Lint | |
# name: Lint python scripts | |
# uses: fedora-copr/vcs-diff-lint-action@v1 | |
# - if: ${{ always() }} | |
# name: Upload artifact with detected defects in SARIF format | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: VCS Diff Lint SARIF | |
# path: ${{ steps.VCS_Diff_Lint.outputs.sarif }} | |
# - if: ${{ failure() }} | |
# name: Upload SARIF to GitHub using github/codeql-action/upload-sarif | |
# uses: github/codeql-action/upload-sarif@v2 | |
# with: | |
# sarif_file: ${{ steps.VCS_Diff_Lint.outputs.sarif }} |