Refactor Alpine testing function to replace Busybox checks with Ash-s… #2
This file contains hidden or 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: Experiment with dash | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| experiment-dash: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Alpine | |
| uses: jirutka/setup-alpine@v1 | |
| with: | |
| branch: latest-stable | |
| - name: Setup Alpine dependencies | |
| run: | | |
| cat /etc/alpine-release | |
| apk add git go make bash dash zsh binutils-gold python3 | |
| shell: alpine.sh --root {0} | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Experiment with dash | |
| run: | | |
| dash --version | |
| shell: alpine.sh --root {0} |