fix: wait in parallel #110
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
jobs: | |
pr: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
name: jx-variables | |
uses: docker://ghcr.io/jenkins-x/jx-boot:3.2.157 | |
with: | |
args: gitops variables | |
entrypoint: jx | |
- env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
name: build-make-linux | |
uses: docker://golang:1.19.5 | |
with: | |
args: -c "make linux" | |
entrypoint: /bin/sh | |
- env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
name: build-make-test | |
uses: docker://golang:1.19.5 | |
with: | |
args: -c "make test" | |
entrypoint: /bin/sh | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Build and push | |
uses: docker/build-push-action@v2 | |
with: | |
context: . | |
file: ./Dockerfile | |
push: false | |
"on": | |
push: | |
branches-ignore: | |
- main | |
- master |