We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57bd055 commit 370e881Copy full SHA for 370e881
.github/workflows/run_infer.yml
@@ -30,11 +30,28 @@ 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@v4
36
+ with:
37
+ path: ../infer
38
+ key: ${{ runner.os }}-infer-${{ hashFiles('../infer/.git/logs/HEAD') }}
39
+
40
- name: Build infer
41
+ if: steps.cache-infer.outputs.cache-hit != 'true'
42
run: |
43
cd ../infer
44
./build-infer.sh java
- sudo make install
45
46
+ - name: Add infer to PATH
47
+ run: |
48
+ cd ../infer
49
+ export PATH=$(pwd)/infer/bin:$PATH
50
51
+ - name: Display infer version
52
53
+ which infer
54
+ infer --version
55
56
- name: Run infer
57
0 commit comments