File tree Expand file tree Collapse file tree 1 file changed +3
-29
lines changed Expand file tree Collapse file tree 1 file changed +3
-29
lines changed Original file line number Diff line number Diff line change 23
23
java-version : 21
24
24
distribution : ' temurin'
25
25
26
- - name : Set up OCaml
27
- uses : ocaml/setup-ocaml@v3
28
- with :
29
- ocaml-compiler : 5
30
-
31
- - name : Get current year/weak
32
- run : echo "year_week=$(date +'%Y_%U')" >> $GITHUB_ENV
33
-
34
- - name : Cache infer build
35
- id : cache-infer
36
- uses : actions/cache@v4
37
- with :
38
- path : infer
39
- key : ${{ runner.os }}-infer-${{ env.year_week }}
40
-
41
- - name : Build infer
42
- if : steps.cache-infer.outputs.cache-hit != 'true'
43
- run : |
44
- cd ..
45
- git clone https://github.com/facebook/infer.git
46
- cd infer
47
- git checkout 01aaa268f9d38723ba69c139e10f9e2a04b40b1c
48
- ./build-infer.sh java
49
- cp -r infer ../Java
50
-
51
- - name : Add infer to PATH
52
- run : |
53
- echo "infer/bin" >> $GITHUB_PATH
26
+ - name : Set up inferAdd commentMore actions
27
+ uses : srz-zumix/setup-infer@v1
54
28
55
29
- name : Display infer version
56
30
run : |
60
34
- name : Run infer
61
35
run : |
62
36
mvn clean
63
- infer --fail-on-issue --print-logs --no-progress-bar -- mvn test
37
+ infer --java-version 21 -- fail-on-issue --print-logs --no-progress-bar -- mvn test
64
38
...
You can’t perform that action at this time.
0 commit comments