Skip to content

Commit

Permalink
build_docs: shellcheck (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdarwin authored Jan 14, 2025
1 parent 489c1c3 commit 9a12834
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 136 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
packages: python-is-python3
skiplist: auto_index geometry
flags: --debug
lint: yes
- os: ubuntu-latest
container: ubuntu:22.04
packages: python2
Expand Down Expand Up @@ -69,7 +70,18 @@ jobs:
steps:

- uses: actions/checkout@v4

- name: Install lint pre-reqs
if: ${{ matrix.lint == 'yes' }}
run: |
set -xe
apt-get update
apt-get install -y shellcheck
- name: Shellcheck
if: ${{ matrix.lint == 'yes' }}
run: |
set -xe
shellcheck build_docs/linuxdocs.sh
shellcheck build_docs/macosdocs.sh
- name: docs
run: |
set -x
Expand Down
Loading

0 comments on commit 9a12834

Please sign in to comment.