name: main on: [push, pull_request] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Run do run: ./tools/do test: runs-on: ubuntu-latest needs: build steps: - uses: actions/checkout@v1 - name: Install shellspec run: curl -fsSL https://git.io/shellspec | sudo sh -s -- -p /usr/local -y - name: Run tests run: ./tools/do test - name: Run shellspec run: shellspec