Skip to content

Commit 0f47254

Browse files
authored
feat: fix code style (#4)
* add language for code blocks * fix code style issues
1 parent a32b8dc commit 0f47254

File tree

5 files changed

+26
-20
lines changed

5 files changed

+26
-20
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: tests
22
on:
33
pull_request:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66

77
schedule:
8-
- cron: '25 08 * * *'
8+
- cron: "25 08 * * *"
99

1010
workflow_dispatch:
1111
inputs:
@@ -15,9 +15,9 @@ on:
1515
required: false
1616
default: false
1717

18-
# This is required for "gautamkrishnar/keepalive-workflow"
18+
# This is required for "gautamkrishnar/keepalive-workflow", see "ddev/github-action-add-on-test"
1919
permissions:
20-
contents: write
20+
actions: write
2121

2222
jobs:
2323
tests:
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030

3131
steps:
32-
- uses: ddev/github-action-add-on-test@v1
32+
- uses: ddev/github-action-add-on-test@v2
3333
with:
3434
ddev_version: ${{ matrix.ddev_version }}
3535
token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,47 @@
33
<img src="https://raw.githubusercontent.com/ddev/ddev/master/images/ddev-logo.svg" alt="DDEV logo" height="80">
44
</a>
55
<a href="https://bun.sh">
6-
<img src="https://user-images.githubusercontent.com/709451/182802334-d9c42afe-f35d-4a7b-86ea-9985f73f20c3.png" alt="Bun Logo" height="80">
6+
<img src="https://user-images.githubusercontent.com/709451/182802334-d9c42afe-f35d-4a7b-86ea-9985f73f20c3.png"
7+
alt="Bun Logo"
8+
height="80"
9+
>
710
</a>
811
<h1 align="center">ddev-bun</h1>
912
</div>
1013

11-
[![tests](https://github.com/Morgy93/ddev-bun/actions/workflows/tests.yml/badge.svg)](https://github.com/Morgy93/ddev-bun/actions/workflows/tests.yml) ![project is maintained](https://img.shields.io/maintenance/yes/2024.svg)
14+
[![tests](https://github.com/Morgy93/ddev-bun/actions/workflows/tests.yml/badge.svg)](https://github.com/Morgy93/ddev-bun/actions/workflows/tests.yml)
15+
![project is maintained](https://img.shields.io/maintenance/yes/2024.svg)
1216

1317
## What is Bun?
1418

15-
> Bun is an all-in-one JavaScript runtime & toolkit designed for speed, complete with a bundler, test runner, and Node.js-compatible package manager.
19+
> Bun is an all-in-one JavaScript runtime & toolkit designed for speed,
20+
> complete with a bundler, test runner, and Node.js-compatible package manager.
1621
17-
For more information, see [What is Bun?](https://github.com/oven-sh/bun#what-is-bun) or visit <https://bun.sh/>.
22+
For more information,
23+
see [What is Bun?](https://github.com/oven-sh/bun#what-is-bun)
24+
or visit <https://bun.sh/>.
1825

1926
YouTube: [Bun 1.0 is here](https://www.youtube.com/watch?v=BsnCpESUEqM)
2027

2128
## Installation
2229

23-
```
30+
```shell
2431
ddev get Morgy93/ddev-bun
2532
ddev restart
2633
```
2734

2835
## Usage
2936

30-
```
37+
```shell
3138
ddev bun
3239
```
3340

3441
Please refer to the documentation at <https://bun.sh/docs>.
3542

3643
Quick links:
3744

38-
- [RUNTIME](https://bun.sh/docs/cli/run)
39-
- [PACKAGE MANAGER](https://bun.sh/docs/cli/install)
40-
- [BUNDLER](https://bun.sh/docs/bundler)
41-
- [TEST RUNNER](https://bun.sh/docs/cli/test)
42-
- [PACKAGE RUNNER](https://bun.sh/docs/cli/bunx)
45+
- [RUNTIME](https://bun.sh/docs/cli/run)
46+
- [PACKAGE MANAGER](https://bun.sh/docs/cli/install)
47+
- [BUNDLER](https://bun.sh/docs/bundler)
48+
- [TEST RUNNER](https://bun.sh/docs/cli/test)
49+
- [PACKAGE RUNNER](https://bun.sh/docs/cli/bunx)

install.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: bun
22

33
project_files:
4-
- commands/web/bun
5-
- web-build/Dockerfile.bun
4+
- commands/web/bun
5+
- web-build/Dockerfile.bun

tests/test.bats

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,3 @@ teardown() {
4040
ddev restart >/dev/null
4141
health_checks
4242
}
43-

web-build/Dockerfile.bun

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#ddev-generated
2-
RUN npm install -g bun
2+
RUN npm install -g bun@latest

0 commit comments

Comments
 (0)