Skip to content
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

feat: v4.3 #205

Merged
merged 12 commits into from
Aug 4, 2024
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.sh]
indent_style = space
indent_size = 4
switch_case_indent = true
4 changes: 2 additions & 2 deletions .github/workflows/inverse-lobster.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Added due to required but conditional checks
# Read more: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/troubleshooting-required-status-checks#handling-skipped-but-required-checks

name: 'lobster checks'
name: "lobster checks"
on:
pull_request:
paths-ignore:
- "**lobster"
- "lobster.sh"
jobs:
sh-checker:
name: Shellcheck + Shfmt
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/lobster.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: 'lobster checks'
name: "lobster checks"
on:
push:
branches:
- main
pull_request:
paths:
- "**lobster"
paths:
- "lobster.sh"

jobs:
sh-checker:
name: Shellcheck + Shfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run the sh-checker
uses: luizm/action-sh-checker@master
env:
SHELLCHECK_OPTS: -s sh -o all -e 2250
SHFMT_OPTS: -i 4 -ci -d
- uses: actions/checkout@v3
- name: Run the sh-checker
uses: luizm/action-sh-checker@master
env:
SHELLCHECK_OPTS: -s sh -o all -e 2250
SHFMT_OPTS: -i 4 -ci -d

check-exec:
name: Executable Bit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: test exec bit
run: test -x "./lobster.sh"
- uses: actions/checkout@v3
- name: test exec bit
run: test -x "./lobster.sh"
17 changes: 8 additions & 9 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
name: 'lobster checks'
name: "lobster checks"
on:
pull_request:
paths:
- "**lobster"

paths:
- "lobster.sh"
jobs:
version-bump:
name: Version Bump
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: check version bump
run: git diff origin/master | grep LOBSTER_VERSION
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: check version bump
run: git diff origin/main | grep LOBSTER_VERSION
Loading
Loading