fix: set proper ShellCheck source for utils.bash #302
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: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: template setup test | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Run Template Setup | |
run: | | |
git config user.name "Foo Bearer" | |
./setup.bash \ | |
"asdf-foo" \ | |
"foo --help" \ | |
"asdf-community" \ | |
"ASDF Community" \ | |
"https://github.com/asdf-vm/asdf" \ | |
"https://asdf-vm.com" \ | |
"Apache-2.0" \ | |
"yes" | |
- name: Check setup result | |
run: | | |
set -xe | |
ls -la . | |
git log | |
test ! -d template/ | |
grep "Apache" LICENSE | |
test "main" = "$(git rev-parse --abbrev-ref HEAD)" | |
! git grep -F -e "<YOUR TOOL>" \ | |
--or -e "<TOOL HOMEPAGE>" \ | |
--or -e "<TOOL REPO>" \ | |
--or -e "<TOOL CHECK>" \ | |
--or -e "<YOUR NAME>" \ | |
--or -e"<YOUR GITHUB USERNAME>" |