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