We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57bd055 commit c88ae1fCopy full SHA for c88ae1f
.github/workflows/run_infer.yml
@@ -27,14 +27,30 @@ jobs:
27
28
- name: Clone infer
29
run: |
30
- cd ..
31
git clone https://github.com/facebook/infer.git
32
+ - name: Cache infer build
33
+ id: cache-infer
34
+ uses: actions/cache@v4
35
+ with:
36
+ path: ./infer
37
+ key: ${{ runner.os }}-infer-${{ hashFiles('./infer/.git/logs/HEAD') }}
38
+
39
- name: Build infer
40
+ if: steps.cache-infer.outputs.cache-hit != 'true'
41
- cd ../infer
42
+ cd ./infer
43
./build-infer.sh java
- sudo make install
44
45
+ - name: Add infer to PATH
46
+ run: |
47
48
+ export PATH=$(pwd)/infer/bin:$PATH
49
50
+ - name: Display infer version
51
52
+ which infer
53
+ infer --version
54
55
- name: Run infer
56
0 commit comments