-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 919 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
name: App
"on":
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: code
- uses: actions/checkout@v3
with:
repository: "pantsbuild/pants"
ref: "huonw/20133-ghac-rate-limits"
path: pants
- run: |
code/get-pants.sh
echo "$HOME/bin" >> $GITHUB_PATH
- name: Configure pants env vars
uses: actions/github-script@v6
with:
script: |
core.exportVariable('PANTS_REMOTE_PROVIDER', 'experimental-github-actions-cache');
core.exportVariable('PANTS_REMOTE_STORE_ADDRESS', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('PANTS_REMOTE_OAUTH_BEARER_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
- run: |
MODE=debug PANTS_SOURCE=../pants pants test ::
working-directory: code