Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: PR Build

defaults:
run:
shell: bash

on:
pull_request:
pull_request_target:
paths:
- ".github/workflows/**"
- "cmd/**"
Expand All @@ -15,13 +11,16 @@ on:
- "go.*"
- "Makefile"

defaults:
run:
shell: bash

env:
BUILDKIT_PROGRESS: plain
DOCKER_CLI_EXPERIMENTAL: enabled
DDEV_DEBUG: true
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}


permissions:
contents: read

Expand All @@ -37,6 +36,7 @@ jobs:
# We need to get all branches and tags for git describe to work properly
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
Expand All @@ -63,26 +63,31 @@ jobs:
with:
name: all-ddev-executables
path: ${{ github.workspace }}/artifacts/*

- name: Upload macos-amd64 binary
uses: actions/upload-artifact@v3
with:
name: ddev-macos-amd64
path: .gotmp/bin/darwin_amd64/ddev

- name: Upload macos-arm64 binary
uses: actions/upload-artifact@v3
with:
name: ddev-macos-arm64
path: .gotmp/bin/darwin_arm64/ddev

- name: Upload linux-arm64 binary
uses: actions/upload-artifact@v3
with:
name: ddev-linux-arm64
path: .gotmp/bin/linux_arm64/ddev

- name: Upload linux-amd64 binary
uses: actions/upload-artifact@v3
with:
name: ddev-linux-amd64
path: .gotmp/bin/linux_amd64/ddev

- name: Upload windows_amd64 installer
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion cmd/ddev/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (
// RootCmd represents the base command when called without any subcommands
var RootCmd = &cobra.Command{
Use: "ddev",
Short: "DDEV local development environment",
Short: "DDEV best local development environment",
Long: `Create and maintain a local web development environment.
Docs: https://ddev.readthedocs.io
Support: https://ddev.readthedocs.io/en/stable/users/support`,
Expand Down