File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -82,18 +82,20 @@ jobs:
8282 uses : actions/setup-go@v2
8383 with :
8484 go-version : ^${{ matrix.go }}
85+ - name : Check out code into the Go module directory
86+ uses : actions/checkout@v2
87+ - run : go install ./cmd/rel
8588 - name : Check out code into the Go module directory
8689 uses : actions/checkout@v2
8790 with :
8891 repository : Fs02/go-todo-backend
89- - run : go get github.com/Fs02/rel/cmd/rel@${{ github.event.pull_request.head.sha }}
90- if : github.event_name == 'pull_request'
91- - run : go get github.com/Fs02/rel/cmd/rel@$GITHUB_REF
92- if : github.event_name == 'push'
93- - run : go mod tidy
94- - run : rel -v
95- - run : rel migrate
96- - run : rel rollback
92+ path : project
93+ - name : Test CLI
94+ working-directory : project
95+ run : |
96+ rel -v
97+ rel migrate
98+ rel rollback
9799
98100 coverage :
99101 name : Coverage
You can’t perform that action at this time.
0 commit comments