Skip to content

Commit

Permalink
Add shellspec to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
msterle committed Mar 26, 2024
1 parent bfa9c42 commit 90d7354
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: lint
name: lint-and-test

on: [push]

Expand All @@ -22,3 +22,22 @@ jobs:
else
echo "No shell scripts with #!/bin/sh shebang found."
fi
test:
name: Run shellspec
runs-on: ubuntu-latest

steps:
- name: Install shellspec
run: |
cd ~
wget https://github.com/shellspec/shellspec/archive/0.28.1.tar.gz
tar xzvf 0.28.1.tar.gz
mkdir ~/.local/bin
ln -s ~/shellspec-0.28.1/bin/shellspec ~/.local/bin/
- name: Check out code
uses: actions/checkout@v4

- name: Run shellspec
run: shellspec

0 comments on commit 90d7354

Please sign in to comment.