File tree 2 files changed +22
-18
lines changed
2 files changed +22
-18
lines changed Original file line number Diff line number Diff line change @@ -23,28 +23,29 @@ jobs:
23
23
CI : true
24
24
shell : bash
25
25
run : rm -rf /opt/hostedtoolcache/*
26
+
26
27
- uses : actions/checkout@v4
27
28
with :
28
29
fetch-depth : 0
29
- - name : update rustc
30
- run : rustup update stable
30
+
31
31
- name : Install Poetry
32
32
run : pipx install poetry==${{ env.POETRY_VERSION }}
33
+
33
34
- name : Set up python ${{ matrix.python-version }}
34
35
uses : actions/setup-python@v5
35
36
with :
36
37
python-version : ${{ matrix.python-version }}
37
- - uses : pantsbuild/actions/init-pants@v5-scie-pants
38
- with :
39
- # v0 makes it easy to bust the cache if needed
40
- # just increase the integer to start with a fresh cache
41
- gha-cache-key : v1-py${{ matrix.python_version }}
42
- named-caches-hash : v1-py${{ matrix.python_version }}
43
- pants-python-version : ${{ matrix.python-version }}
44
- pants-ci-config : pants.toml
38
+
39
+ - name : Install pants
40
+ run : |
41
+ curl --proto '=https' --tlsv1.2 -fsSLO https://static.pantsbuild.org/setup/get-pants.sh
42
+ chmod +x get-pants.sh
43
+ ./get-pants.sh
44
+
45
45
- name : Check BUILD files
46
46
run : |
47
47
pants tailor --check :: -docs/::
48
+
48
49
- name : Run coverage checks on changed packages
49
50
run : |
50
51
# Get the changed files
Original file line number Diff line number Diff line change @@ -23,26 +23,29 @@ jobs:
23
23
CI : true
24
24
shell : bash
25
25
run : rm -rf /opt/hostedtoolcache/*
26
+
26
27
- uses : actions/checkout@v4
27
28
with :
28
29
fetch-depth : 0
29
- - name : update rustc
30
- run : rustup update stable
30
+
31
31
- name : Install Poetry
32
32
run : pipx install poetry==${{ env.POETRY_VERSION }}
33
+
33
34
- name : Set up python ${{ matrix.python-version }}
34
35
uses : actions/setup-python@v5
35
36
with :
36
37
python-version : ${{ matrix.python-version }}
37
- - uses : pantsbuild/actions/init-pants@v5-scie-pants
38
- with :
39
- # v0 makes it easy to bust the cache if needed
40
- # just increase the integer to start with a fresh cache
41
- named-caches-hash : v3-py${{ matrix.python_version }}-${{ hashFiles('./**/pyproject.toml') }}
42
- pants-ci-config : pants.toml
38
+
39
+ - name : Install pants
40
+ run : |
41
+ curl --proto '=https' --tlsv1.2 -fsSLO https://static.pantsbuild.org/setup/get-pants.sh
42
+ chmod +x get-pants.sh
43
+ ./get-pants.sh
44
+
43
45
- name : Check BUILD files
44
46
run : |
45
47
pants tailor --check :: -docs/::
48
+
46
49
- name : Run testing
47
50
env :
48
51
CI : true
You can’t perform that action at this time.
0 commit comments