File tree Expand file tree Collapse file tree 1 file changed +2
-27
lines changed
Expand file tree Collapse file tree 1 file changed +2
-27
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- ./build-infer.sh java
45- cp -r infer ../Java
46-
47- - name : Add infer to PATH
48- run : |
49- echo "infer/bin" >> $GITHUB_PATH
23+ - name : Set up infer
24+ uses : srz-zumix/setup-infer@v1
5025
5126 - name : Display infer version
5227 run : |
You can’t perform that action at this time.
0 commit comments