-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac652a3
commit cd71f72
Showing
4 changed files
with
94 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# SPDX-FileCopyrightText: Stefan Tatschner | ||
# | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
name: linters | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- '.github/**' | ||
- 'devpod.sh' | ||
|
||
jobs: | ||
linters: | ||
runs-on: ubuntu-latest | ||
container: debian:trixie | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Dependencies | ||
run: | | ||
apt-get update -y | ||
apt-get install -y shellcheck shfmt just | ||
- name: Run shellcheck | ||
run: | | ||
just shellcheck |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,8 @@ build-arch: | |
|
||
build-debian: | ||
cd debian && just build | ||
|
||
lint: shellcheck | ||
|
||
shellcheck: | ||
shellcheck devpod |