Skip to content

Commit b2f0d04

Browse files
committed
fix code style issues
1 parent f5113f7 commit b2f0d04

File tree

5 files changed

+67
-69
lines changed

5 files changed

+67
-69
lines changed

.github/workflows/tests.yml

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

77
schedule:
8-
- cron: '25 08 * * *'
9-
10-
workflow_dispatch:
11-
inputs:
12-
debug_enabled:
13-
type: boolean
14-
description: Debug with tmate
15-
required: false
16-
default: false
8+
- cron: 25 08 * * *
179

1810
# This is required for "gautamkrishnar/keepalive-workflow"
1911
permissions:
@@ -38,54 +30,54 @@ jobs:
3830
strategy:
3931
matrix:
4032
ddev_version: [stable, HEAD]
41-
# ddev_version: [stable, edge, HEAD, PR]
33+
# ddev_version: [stable, edge, HEAD, PR]
4234
fail-fast: false
4335

4436
runs-on: ubuntu-20.04
4537

4638
steps:
47-
- uses: actions/checkout@v3
48-
- name: Set up Homebrew
49-
id: set-up-homebrew
50-
uses: Homebrew/actions/setup-homebrew@master
51-
- name: Environment setup
52-
run: |
53-
brew install bats-core mkcert
54-
mkcert -install
55-
56-
- name: Use ddev stable
57-
if: matrix.ddev_version == 'stable'
58-
run: brew install ddev/ddev/ddev
59-
60-
- name: Use ddev edge
61-
if: matrix.ddev_version == 'edge'
62-
run: brew install ddev/ddev-edge/ddev
63-
64-
- name: Use ddev HEAD
65-
if: matrix.ddev_version == 'HEAD'
66-
run: brew install --HEAD ddev/ddev/ddev
67-
68-
- name: Use ddev PR
69-
if: matrix.ddev_version == 'PR'
70-
run: |
71-
curl -sSL -o ddev_linux.zip ${NIGHTLY_DDEV_PR_URL}
72-
unzip ddev_linux.zip
73-
mv ddev /usr/local/bin/ddev && chmod +x /usr/local/bin/ddev
74-
75-
- name: Download docker images
76-
run: mkdir junk && pushd junk && ddev config --auto && ddev debug download-images >/dev/null
77-
78-
- name: tmate debugging session
79-
uses: mxschmitt/action-tmate@v3
80-
with:
81-
limit-access-to-actor: true
82-
github-token: ${{ secrets.GITHUB_TOKEN }}
83-
if: github.event.inputs.debug_enabled == 'true'
84-
85-
- name: tests
86-
run: bats tests
87-
88-
# keepalive-workflow adds a dummy commit if there's no other action here, keeps
89-
# GitHub from turning off tests after 60 days
90-
- uses: gautamkrishnar/keepalive-workflow@v1
91-
if: matrix.ddev_version == 'stable'
39+
- uses: actions/checkout@v3
40+
- name: Set up Homebrew
41+
id: set-up-homebrew
42+
uses: Homebrew/actions/setup-homebrew@master
43+
- name: Environment setup
44+
run: |
45+
brew install bats-core mkcert
46+
mkcert -install
47+
48+
- name: Use ddev stable
49+
if: matrix.ddev_version == 'stable'
50+
run: brew install ddev/ddev/ddev
51+
52+
- name: Use ddev edge
53+
if: matrix.ddev_version == 'edge'
54+
run: brew install ddev/ddev-edge/ddev
55+
56+
- name: Use ddev HEAD
57+
if: matrix.ddev_version == 'HEAD'
58+
run: brew install --HEAD ddev/ddev/ddev
59+
60+
- name: Use ddev PR
61+
if: matrix.ddev_version == 'PR'
62+
run: |
63+
curl -sSL -o ddev_linux.zip ${NIGHTLY_DDEV_PR_URL}
64+
unzip ddev_linux.zip
65+
mv ddev /usr/local/bin/ddev && chmod +x /usr/local/bin/ddev
66+
67+
- name: Download docker images
68+
run: mkdir junk && pushd junk && ddev config --auto && ddev debug download-images >/dev/null
69+
70+
- name: tmate debugging session
71+
uses: mxschmitt/action-tmate@v3
72+
with:
73+
limit-access-to-actor: true
74+
github-token: ${{ secrets.GITHUB_TOKEN }}
75+
if: github.event.inputs.debug_enabled == 'true'
76+
77+
- name: tests
78+
run: bats tests
79+
80+
# keepalive-workflow adds a dummy commit if there's no other action here, keeps
81+
# GitHub from turning off tests after 60 days
82+
- uses: gautamkrishnar/keepalive-workflow@v1
83+
if: matrix.ddev_version == 'stable'

README.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,25 @@
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

@@ -35,8 +42,8 @@ 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)