name: basic on: push jobs: check: runs-on: ubuntu-latest steps: - run: echo 'hello world' build: runs-on: ubuntu-latest needs: [check] steps: - uses: ./actions/action1 with: args: echo 'build' test: runs-on: ubuntu-latest needs: [build] steps: - uses: docker://ubuntu:18.04 with: args: echo ${GITHUB_REF} | grep nektos/act