Update Usage #99
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu | |
on: [push, pull_request] | |
env: | |
FORCE_COLOR: 1 | |
jobs: | |
ubuntu: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'ci skip')" | |
steps: | |
- uses: actions/checkout@v4 | |
- run: sudo apt-get update | |
- run: sudo apt-get install -y dash bash busybox ksh mksh posh yash zsh gawk mawk original-awk shellcheck | |
- name: Install shellspec | |
run: | | |
echo "${HOME}/.local/bin" >> "$GITHUB_PATH" | |
curl -fsSL https://git.io/shellspec | sh -s master -y | |
- run: shellspec -s sh | |
- run: shellspec -s dash | |
- run: shellspec -s bash | |
- run: shellspec -s "busybox ash" | |
- run: shellspec -s ksh | |
- run: shellspec -s mksh | |
- run: shellspec -s posh | |
- run: shellspec -s yash | |
- run: shellspec -s zsh | |
- run: shellspec -s sh -e AWK=gawk | |
- run: shellspec -s sh -e AWK=mawk | |
- run: shellspec -s sh -e AWK=original-awk | |
- run: shellspec -s sh -e AWK="busybox awk" |