Add a ShellCheck workflow

This commit is contained in:
m1ngsama 2026-03-28 18:01:38 +08:00
parent 5a5eefb5e0
commit 36b63145a3
2 changed files with 43 additions and 0 deletions

41
.github/workflows/shellcheck.yml vendored Normal file
View file

@ -0,0 +1,41 @@
name: ShellCheck
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Install ShellCheck
run: |
sudo apt-get update
sudo apt-get install -y shellcheck
- name: Run bash syntax checks
run: |
bash -n install.sh
bash -n uninstall.sh
bash -n bin/deckless-steam
bash -n bin/deckless-bigpicture
bash -n bin/deckless-i3-bigpicture-bridge
- name: Run ShellCheck
run: |
shellcheck \
install.sh \
uninstall.sh \
bin/deckless-steam \
bin/deckless-bigpicture \
bin/deckless-i3-bigpicture-bridge

View file

@ -1,5 +1,7 @@
# Deckless # Deckless
[![ShellCheck](https://github.com/m1ngsama/deckless/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/m1ngsama/deckless/actions/workflows/shellcheck.yml)
Deckless is a Linux toolkit that keeps the official Steam package intact while fixing three pain points that desktop Linux users regularly hit outside SteamOS: Deckless is a Linux toolkit that keeps the official Steam package intact while fixing three pain points that desktop Linux users regularly hit outside SteamOS:
- split proxy policy for Steam web content vs. game traffic - split proxy policy for Steam web content vs. game traffic