Docs: Update readme with oh-my-posh theme screenshots (#77) #63
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: 'ci' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
name: Checkout to PR Branch | |
- name: Setup Deps | |
run: sudo apt update -y && sudo apt install --no-install-recommends -y zsh | |
- name: Lint Project | |
run: | | |
lint_output=$(bash package.sh lint) | |
if [ "${lint_output}" != "" ]; then | |
echo 'error linting following files' | |
echo ${lint_output} | |
exit 1 | |
fi | |
- name: Run Tests | |
run: | | |
bash package.sh test | |
test_exit_code=$(echo $?) | |
exit ${test_exit_code} | |