Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
version: 2.1

workflows:
build:
jobs:
- foo
- bar
- foo:
requires:
- bar
jobs:
foo:
docker:
- image: alpine:3.11.6
steps:
- run:
name: foo
command: echo foo
bar:
docker:
- image: alpine:3.11.6
steps:
name: install git
command: |
apk add git openssh
- checkout
- run:
name: bar
command: echo bar
name: checkout merge branch
command: |
git fetch --depth 1 origin "pull/16/merge:pr/16/merge"
git checkout "pr/16/merge"
git rev-parse HEAD