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