-
Notifications
You must be signed in to change notification settings - Fork 6
67 lines (51 loc) · 1.47 KB
/
dev.yml
File metadata and controls
67 lines (51 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Test-integration - Build - Test - Deliver
on:
push:
branches:
- 'ready/**'
jobs:
integrate:
name: Integrate
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: getfetch
run: git pull
- name: setting remote
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: git remote set-url origin https://x-access-token:$GITHUB_TOKEN@github.com/code-cafes/git-phlow.git
- name: Show branch
run: git branch -vv
- name: show git branch
run: git branch -u origin/master
- name: Show branch
run: git branch -vv
- name: setting git config
run: git config --global user.email "robot@hello.com"
- name: setting git config
run: git config --global user.name "Robot"
- name: Rebase to remote branch
run: git rebase
- name: Checkout target branch
run: git checkout master
- name: Pull latest
run: git pull origin master
- name: Merge
run: git merge --ff-only
- name: Show branch
run: git branch -vv
- name: Install dependencies
run: |
go get -v -d ./...
- name: Build
run: go build -v .
- name: test
run: |
echo $GOBIN
export PATH=$PATH:$(go env GOPATH)/bin
go get github.com/onsi/ginkgo/ginkgo
ginkgo -r -v --trace
- name: Push to master
run: git push origin master