File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed
Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,25 @@ jobs:
1818 matrix : ${{ steps.set-matrix.outputs.matrix }}
1919 steps :
2020 - uses : actions/checkout@v4
21+
2122 - name : Finding files and store to output
2223 id : set-matrix
2324 run : echo "matrix=$({ cd integration && find . -type d ! -name testdata -maxdepth 1 -print; } | tail -n +2 | cut -c 3- | jq -R . | jq -cs .)" >> $GITHUB_OUTPUT
2425
26+ - uses : actions/setup-go@v5
27+ with :
28+ go-version : " stable"
29+
30+ - name : Download Go modules
31+ run : go mod tidy
32+
33+ - name : Upload prepared workspace
34+ uses : actions/upload-artifact@v4
35+ with :
36+ name : workspace
37+ path : .
38+ retention-days : 1
39+
2540 integration :
2641 name : test ${{ matrix.test-path }} on ${{ matrix.os }}
2742 runs-on : ${{ matrix.os }}
@@ -32,17 +47,18 @@ jobs:
3247 fail-fast : false
3348 matrix :
3449 os : [ ubuntu-latest, macos-latest ]
35- test-path : ${{fromJson(needs.pre-test.outputs.matrix)}}
50+ test-path : ${{ fromJson(needs.pre-test.outputs.matrix) }}
3651 steps :
37- - uses : actions/checkout@v4
52+ - name : Download prepared workspace
53+ uses : actions/download-artifact@v5
54+ with :
55+ name : workspace
56+ path : .
3857
3958 - uses : actions/setup-go@v5
4059 with :
4160 go-version : " stable"
4261
43- - name : Run Go Mod Tidy
44- run : go mod tidy
45-
4662 - name : Run Integration Tests
4763 env :
4864 GOTOOLCHAIN : local+path
You can’t perform that action at this time.
0 commit comments