File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -47,16 +47,20 @@ jobs:
4747 run : |
4848 go get github.com/project-codeflare/multi-cluster-app-dispatcher@${{ github.event.inputs.mcad-version }}
4949
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+
5054 # Build and test repository to make sure that MCAD update didn't break anything
5155 - name : Build
5256 run : go build -o bin/manager main.go
5357
5458 # 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
5660 uses : stefanzweifel/git-auto-commit-action@v5
5761 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 '
6064 create_branch : true
6165 branch : ${{ env.PR_BRANCH }}
6266
You can’t perform that action at this time.
0 commit comments