mirror of
https://oauth2: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@github.com/m1ngsama/deckless.git
synced 2026-05-10 19:11:12 +08:00
Add a ShellCheck workflow
This commit is contained in:
parent
5a5eefb5e0
commit
36b63145a3
2 changed files with 43 additions and 0 deletions
41
.github/workflows/shellcheck.yml
vendored
Normal file
41
.github/workflows/shellcheck.yml
vendored
Normal 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
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
# Deckless
|
||||
|
||||
[](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:
|
||||
|
||||
- split proxy policy for Steam web content vs. game traffic
|
||||
|
|
|
|||
Loading…
Reference in a new issue