-
Notifications
You must be signed in to change notification settings - Fork 17
feat: add bun to controller #387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
ebc5f92
840b1bf
31aeb8d
710e6f2
e8cf5b6
0eb8f07
7168c6a
35c92f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2,9 +2,11 @@ name: Continuous Integration | |||||
|
|
||||||
| on: | ||||||
| pull_request: | ||||||
| branches: [main, develop] | ||||||
| branches: | ||||||
| - main | ||||||
| push: | ||||||
| branches: [main, develop] | ||||||
| branches: | ||||||
| - main | ||||||
|
|
||||||
| concurrency: | ||||||
| # Cancel previous runs that are not completed yet | ||||||
|
|
@@ -23,16 +25,20 @@ jobs: | |||||
| uses: actions/setup-node@v4 | ||||||
| with: | ||||||
| node-version: 20 | ||||||
| cache: 'yarn' | ||||||
|
|
||||||
| - name: Setup bun | ||||||
| uses: oven-sh/setup-bun@v2 | ||||||
| with: | ||||||
| bun-version: 1.3.3 | ||||||
|
|
||||||
| - name: Install dependencies | ||||||
| run: yarn install | ||||||
| run: bun install | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use The 🔒 Proposed fix to add frozen lockfile flag - name: Install dependencies
- run: bun install
+ run: bun install --frozen-lockfile📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
|
|
||||||
| - name: Linting | ||||||
| run: yarn lint | ||||||
| run: bun lint | ||||||
|
|
||||||
| - name: Prettier | ||||||
| run: yarn check-format | ||||||
| run: bun check-format | ||||||
|
|
||||||
| - name: Compile | ||||||
| run: yarn check-types | ||||||
| run: bun check-types | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: credebl/agent-controller
Length of output: 109
Pin the action to a specific commit hash.
The
oven-sh/setup-bunaction is not pinned to a commit, creating a supply chain security risk. Replaceoven-sh/setup-bun@v2withoven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6to ensure the exact version is always used, preventing potential tag manipulation or unintended updates.🧰 Tools
🪛 zizmor (1.25.2)
[error] 30-30: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
🤖 Prompt for AI Agents