Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v6
- uses: TypedDevs/bashunit@v0
with:
version: '0.40.0'
verify-checksum: 'true'

# Runs a single command using the runners shell
- name: Install prerequisites
Expand All @@ -40,7 +44,6 @@ jobs:
sudo apt -y update
sudo apt -y install --no-install-recommends zsh fish shellcheck
fi
curl -s https://bashunit.typeddevs.com/install.sh | bash -s 0.31.0

- name: Show version
run: |
Expand All @@ -54,7 +57,7 @@ jobs:
run: shellcheck forgit.plugin.sh bin/git-forgit

- name: Unit tests
run: lib/bashunit .
run: bashunit tests

- name: Test bash
run: bash forgit.plugin.sh
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ To run the same checks as CI, make sure these tools are available locally:
If `lib/bashunit` is not available yet, install it once with:

```sh
curl -s https://bashunit.typeddevs.com/install.sh | bash -s 0.31.0
curl --silent --fail --location https://bashunit.typeddevs.com/install.sh | bash -s 0.40.0
```

Local Validation
Expand Down
Loading