Skip to content

Commit 1434090

Browse files
committed
Add ShellCheck CI workflow and status badges
Lint install.sh with shellcheck -S warning on every push/pull request. Add shellcheck + GPLv3 badges to the README.
1 parent 7ddbb75 commit 1434090

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/shellcheck.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: shellcheck
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
shellcheck:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Ensure ShellCheck is available
17+
run: shellcheck --version || (sudo apt-get update && sudo apt-get install -y shellcheck)
18+
- name: Lint install.sh
19+
run: shellcheck -S warning install.sh

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# linuxroam
22

3+
[![shellcheck](https://github.com/diverso-lab/linuxroam/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/diverso-lab/linuxroam/actions/workflows/shellcheck.yml)
4+
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](LICENSE)
5+
36
Clean installer to join the **eduroam** Wi-Fi network on Linux with NetworkManager.
47
Works for **any institution** registered in the eduroam CAT database (most universities and research centers worldwide).
58

0 commit comments

Comments
 (0)