Skip to content

Commit

Permalink
✨ fix workflow to handle external providers correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Gaikwad <[email protected]>
  • Loading branch information
pranavgaikwad committed Sep 14, 2023
1 parent 73da68d commit 0142612
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/demo-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: replace analyzer-lsp upstream dep from external providers
run: |
for dir in ./external-providers/*; do
pushd $dir &> /dev/null
go mod edit -replace=github.com/konveyor/analyzer-lsp=../../
popd &> /dev/null
done
- name: build image
run: podman build -t quay.io/konveyor/analyzer-lsp:latest .

Expand Down
2 changes: 0 additions & 2 deletions external-providers/generic-external-provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,3 @@ require (
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/konveyor/analyzer-lsp => ../../

0 comments on commit 0142612

Please sign in to comment.