mirror of
https://github.com/rcaloras/bash-preexec.git
synced 2026-11-03 14:39:43 -09:00
Add script/release to update the version, run tests, create and push the release commit and tag, and draft GitHub release notes. Usage: script/release --dry-run 0.7.0 script/release 0.7.0 script/release 0.7.0 "Teal Otter"
19 lines
454 B
YAML
19 lines
454 B
YAML
name: Bats tests
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
bash-version: ['3.2', '4.4', '5.0', '5.3']
|
|
container:
|
|
image: bash:${{ matrix.bash-version }}
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v5
|
|
- name: Install test dependencies
|
|
run: apk add --no-cache bats git
|
|
- name: Run tests
|
|
run: bats test
|