Skip to content

Commit b40adee

Browse files
committed
Install R and air
1 parent 82fbfcd commit b40adee

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/claude.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ jobs:
3030
with:
3131
fetch-depth: 1
3232

33+
- name: Install air
34+
uses: posit-dev/setup-air@v1
35+
36+
- uses: r-lib/actions/setup-r@v2
37+
with:
38+
use-public-rspm: true
39+
40+
- uses: r-lib/actions/setup-r-dependencies@v2
41+
with:
42+
extra-packages: any::rcmdcheck,roxygen2
43+
needs: check
44+
3345
- name: Run Claude Code
3446
id: claude
3547
uses: anthropics/claude-code-action@beta
@@ -50,7 +62,7 @@ jobs:
5062
# assignee_trigger: "claude-bot"
5163

5264
# Optional: Allow Claude to run specific commands
53-
allowed_tools: "Bash(R:*)"
65+
allowed_tools: "Bash(R:*);Bash(air format:*)"
5466

5567
# Optional: Add custom instructions for Claude to customize its behavior for your project
5668
# custom_instructions: |

0 commit comments

Comments
 (0)