e9ae7894e3
* fix: set default shell for containers to sh This matches GitHub Actions behaviour where, runners use bash since it's guaranteed to exist there while containers use sh for compatibility * tests: fixup for default shell
23 lines
450 B
YAML
23 lines
450 B
YAML
on: push
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- shell: bash
|
|
run: |
|
|
if [[ -n "$BASH" ]]; then
|
|
echo "I'm $BASH!"
|
|
else
|
|
exit 1
|
|
fi
|
|
check-container:
|
|
runs-on: ubuntu-latest
|
|
container: node:12-buster-slim
|
|
steps:
|
|
- shell: bash
|
|
run: |
|
|
if [[ -n "$BASH" ]]; then
|
|
echo "I'm $BASH!"
|
|
else
|
|
exit 1
|
|
fi
|