Skip to content

Instantly share code, notes, and snippets.

@kminehart
Last active July 20, 2022 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kminehart/660ce485c850ff0a3daaf9747075ef26 to your computer and use it in GitHub Desktop.
Save kminehart/660ce485c850ff0a3daaf9747075ef26 to your computer and use it in GitHub Desktop.
pipelines:
- name: build-go
when:
- event: pull_request
- event: commit
branch: main
steps:
- name: install
run: go mod download
image: golang:1.18
- name: test
run: go test ./...
image: golang:1.18
after: install
# omitted for brevity...
- name: build-go
when:
- event: pull_request
- event: commit
branch: main
steps:
- name: install
run: yarn
image: node:18
- name: test
# 1000 lines later ...
- name: upload-frontend
run: make upload-frontend
image: node:18
after: build-frontend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment