Skip to content

Commit 6f3be4b

Browse files
author
Tom Dyas
authored
run ./pants tailor and fix CI workflow (#3)
Run `./pants tailor` on repository. Plus fix CI workflow.
1 parent 678b0c4 commit 6f3be4b

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/pants.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ jobs:
4242
uses: actions/setup-python@v1
4343
with:
4444
python-version: ${{ matrix.python-version }}
45+
- name: Download Apache `thrift` binary
46+
run: |
47+
mkdir -p "$HOME/.thrift"
48+
curl --fail -L https://binaries.pantsbuild.org/bin/thrift/linux/x86_64/0.15.0/thrift -o "$HOME/.thrift/thrift"
49+
chmod +x "$HOME/.thrift/thrift"
50+
echo "PATH=${PATH}:${HOME}/.thrift" >> $GITHUB_ENV
4551
- name: Bootstrap Pants
4652
run: |
4753
./pants --version
@@ -50,9 +56,3 @@ jobs:
5056
- name: Test
5157
run: |
5258
./pants test ::
53-
- name: Upload pants log
54-
uses: actions/upload-artifact@v2
55-
with:
56-
name: pants-log
57-
path: .pants.d/pants.log
58-
if: always() # We want the log even on failures.

src/protobuf/simple_example/BUILD

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
protobuf_sources(
2-
python_source_root="src/python",
2+
python_source_root="src/python",
33
)
4-

src/python/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python_sources()

src/thrift/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
thrift_sources(
2-
python_source_root="src/python",
2+
python_source_root="src/python",
33
)

0 commit comments

Comments
 (0)