10000 Add GitHub actions to check python code, shell scripts, and config by alexanderlaw · Pull Request #1 · postgrespro/pg-mark · GitHub
[go: up one dir, main page]

Skip to content

Add GitHub actions to check python code, shell scripts, and config #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add extra checks (shellcheck, xmllint)
  • Loading branch information
alexanderlaw committed Jun 22, 2023
commit 742df7861692589966e3a9c04156803bd34fda38
17 changes: 17 additions & 0 deletions .github/workflows/extrachecks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Extra checks

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Installing requirements
run: sudo apt install shellcheck libxml2-utils
- name: Analyzing scripts with ShellCheck
run: |
shellcheck scripts/*/*
- name: Analyzing config.xml with xmllint
run: |
xmllint --noout config.xml
0