Skip to content

Commit

Permalink
replace: travis-ci with github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Beau Hastings <[email protected]>
  • Loading branch information
hastinbe committed Dec 17, 2024
1 parent 75ff69e commit 95bd8f7
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: ShellCheck CI

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
shellcheck:
name: Run ShellCheck
runs-on: ubuntu-latest

steps:
# Step 1: Check out the code
- name: Checkout code
uses: actions/checkout@v4

# Step 2: Install ShellCheck
- name: Install ShellCheck
run: sudo apt-get install -y shellcheck

# Step 3: Run ShellCheck on all shell scripts
- name: Run ShellCheck
run: |
shellcheck **/*.sh
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Copyright (C) 1989, 1991 Free Software Foundation, Inc.

[alsa-utils]: https://alsa.opensrc.org/Alsa-utils
[bspwm]: https://github.com/baskerville/bspwm
[build]: https://travis-ci.org/hastinbe/i3-volume.svg?branch=master
[build]: https://github.com/hastinbe/i3-volume/actions/workflows/shellcheck.yml/badge.svg
[dunst]: https://dunst-project.org
[herbe]: https://github.com/dudik/herbe
[KDE]: https://kde.org
Expand Down

0 comments on commit 95bd8f7

Please sign in to comment.