File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ concurrency:
55 cancel-in-progress : true
66jobs :
77 test :
8+ permissions :
9+ id-token : write
10+ contents : read
811 runs-on : ${{ matrix.test.vm }}
912 strategy :
1013 fail-fast : false
@@ -68,10 +71,13 @@ jobs:
6871 path : |
6972 ~/.cache/go-build
7073 ~/go/pkg/mod
71- key : go-modules-${{ hashFiles('wasp /go.sum') }}-${{ runner.os }}-test
74+ key : go-modules-${{ matrix.test.path }}-${{ hashFiles(format('{0} /go.sum', matrix.test.path) ) }}-${{ runner.os }}-test
7275 restore-keys : |
73- go-modules-${{ runner.os }}-test
74- go-modules-${{ runner.os }}
76+ go-modules-${{ matrix.test.path }}-${{ runner.os }}-test
77+ go-modules-${{ matrix.test.path }}-${{ runner.os }}
78+ - name : Install dependencies
79+ working-directory : ${{ matrix.test.path }}
80+ run : go mod download
7581 - uses : extractions/setup-just@v2
7682 - name : Run tests
7783 run : |
You can’t perform that action at this time.
0 commit comments