Skip to content

Commit 2c8fbc5

Browse files
committed
Test if store is corrupted
1 parent eefff70 commit 2c8fbc5

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/pants.yaml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,21 @@ jobs:
4040
with:
4141
python-version: ${{ matrix.python-version }}
4242

43-
- uses: pantsbuild/actions/init-pants@v8
44-
with:
45-
gha-cache-key: v0
46-
named-caches-hash: ${{ hashFiles('python-default.lock') }}
47-
pants-ci-config: "['pants.toml', '/tmp/pants.toml']"
43+
# - uses: pantsbuild/actions/init-pants@v8
44+
# with:
45+
# gha-cache-key: v0
46+
# named-caches-hash: ${{ hashFiles('python-default.lock') }}
47+
# pants-ci-config: "['pants.toml', '/tmp/pants.toml']"
48+
49+
- name: Manual install
50+
run: |
51+
curl --proto '=https' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh | bash
52+
which -a pants
53+
54+
# Corrupted?
55+
rm -rf /home/runner/.cache/pants/lmdb_store/
4856
49-
# - name: Manual install
50-
# run: |
51-
# curl --proto '=https' --tlsv1.2 -fsSL https://static.pantsbuild.org/setup/get-pants.sh | bash
52-
# which -a pants
53-
# PANTS_LOCAL_CACHE_DIR=/tmp/pants_cache pants --print-stacktrace -ldebug --version
57+
pants --print-stacktrace -ldebug --version
5458
5559
- name: Check BUILD files
5660
run: |

0 commit comments

Comments
 (0)