Commit ec905fb 1 parent 42abaf5 commit ec905fb Copy full SHA for ec905fb
File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -16,20 +16,12 @@ permissions: read-all
16
16
17
17
name : Code Generation Check
18
18
jobs :
19
- warmup :
20
- runs-on : ubuntu-latest
21
- steps :
22
- - uses : jdx/mise-action@0c39a522dfbced3ed83924152c45804a71ce216f # v2.0.4
23
- with :
24
- experimental : true
25
19
check-codegen :
26
20
strategy :
27
21
matrix :
28
22
target : [ mocks, protobuf ]
29
23
fail-fast : false # Don't cancel running checks because one fails
30
24
runs-on : ubuntu-latest
31
- needs :
32
- - warmup
33
25
steps :
34
26
- uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
35
27
with :
38
30
- uses : jdx/mise-action@0c39a522dfbced3ed83924152c45804a71ce216f # v2.0.4
39
31
with :
40
32
experimental : true
41
- - run : mise run clean
42
33
- run : mise run generate:${{ matrix.target }} --check
Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ while test "$#" -gt 0; do
21
21
esac
22
22
done
23
23
24
+ mkdir -p build/backups
25
+ echo " Backing up mocks to build/backups/mocks..."
26
+ rm -rf build/backups/mocks
27
+ mv internal/mocks build/backups/mocks
28
+
24
29
mockery
25
30
touch build/.mocksentinel
26
31
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ while test "$#" -gt 0; do
22
22
done
23
23
24
24
mkdir -p internal/grpc/checks
25
+ mkdir -p build/backups/grpc
26
+ echo " Backing up GRPC files to build/backups/grpc/checks"
27
+ mv -f internal/grpc/checks build/backups/grpc/checks
28
+ rm -rf internal/grpc/checks
25
29
26
30
protoc \
27
31
--proto_path=proto \
You can’t perform that action at this time.
0 commit comments