Integration test #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration test | |
on: | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
checkout-example: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.18' | |
- name: Checkout another repository | |
uses: actions/checkout@v4 | |
with: | |
repository: 'go-echarts/examples' | |
path: 'examples' | |
- name: Check repos | |
run: | | |
ls -l | |
ls examples/ | |
- name: Replace dependency and server | |
run: | | |
echo "replace github.com/go-echarts/go-echarts/v2 => ../../go-echarts" >> examples/go.mod | |
sed '/ListenAndServe/d' -i examples/main.go | |
- name: Check Examples changed files | |
run: | | |
cat examples/go.mod | |
cat examples/main.go | |