File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -47,16 +47,20 @@ jobs:
47
47
run : |
48
48
go get github.com/project-codeflare/multi-cluster-app-dispatcher@${{ github.event.inputs.mcad-version }}
49
49
50
+ - name : Adjust multi-cluster-app-dispatcher dependency in functional tests
51
+ run : |
52
+ sed -i -E "s|(.*multi-cluster-app-dispatcher@)v[0-9]+\.[0-9]+\.[0-9]+(.*)|\1${{ github.event.inputs.mcad-version }}\2|" functional-tests/appwrapper_reconciler_test.go
53
+
50
54
# Build and test repository to make sure that MCAD update didn't break anything
51
55
- name : Build
52
56
run : go build -o bin/manager main.go
53
57
54
58
# Update dependencies
55
- - name : Commit go.mod and go.sum changes to the branch
59
+ - name : Commit go.mod, go.sum, and functional tests changes to the branch
56
60
uses : stefanzweifel/git-auto-commit-action@v5
57
61
with :
58
- commit_message : Update go.mod and go.sum to MCAD ${{ github.event.inputs.mcad-version }}
59
- file_pattern : ' go.mod go.sum'
62
+ commit_message : Update go.mod, go.sum, and functional tests to MCAD ${{ github.event.inputs.mcad-version }}
63
+ file_pattern : ' go.mod go.sum *.go '
60
64
create_branch : true
61
65
branch : ${{ env.PR_BRANCH }}
62
66
You can’t perform that action at this time.
0 commit comments