Skip to content

Commit 0494356

Browse files
authored
Upgrade checkout action to version 4 and simplify setup
1 parent 8eb0065 commit 0494356

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,14 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- name: Checkout code
19-
uses: actions/checkout@v3
20-
21-
- name: Set up Bun
22-
run: |
23-
curl -fsSL https://bun.sh/install | bash
24-
echo "${HOME}/.bun/bin" >> $GITHUB_PATH
25-
26-
- name: Install dependencies
27-
run: bun install
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Install bun
22+
uses: oven-sh/setup-bun@v2
23+
24+
- name: Install dependencies # (assuming your project has dependencies)
25+
run: bun install # You can use npm/yarn/pnpm instead if you prefer
2826

2927
- name: Run tests
3028
run: bun run test

0 commit comments

Comments
 (0)