-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from buildpacks/pipeline-polishing
Pipelines Polishing Signed-off-by: Ben Hale <[email protected]>
- Loading branch information
Showing
8 changed files
with
53 additions
and
35 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
- name: 'semver: major' | ||
- name: semver:major | ||
description: A change requiring a major version bump | ||
color: f9d0c4 | ||
- name: 'semver: minor' | ||
- name: semver:minor | ||
description: A change requiring a minor version bump | ||
color: f9d0c4 | ||
- name: 'semver: patch' | ||
- name: semver:patch | ||
description: A change requiring a patch version bump | ||
color: f9d0c4 | ||
- name: 'type: bug' | ||
- name: type:bug | ||
description: A general bug | ||
color: e3d9fc | ||
- name: 'type: dependency-upgrade' | ||
- name: type:dependency-upgrade | ||
description: A dependency upgrade | ||
color: e3d9fc | ||
- name: 'type: documentation' | ||
- name: type:documentation | ||
description: A documentation update | ||
color: e3d9fc | ||
- name: 'type: enhancement' | ||
- name: type:enhancement | ||
description: A general enhancement | ||
color: e3d9fc | ||
- name: 'type: question' | ||
- name: type:question | ||
description: A user question | ||
color: e3d9fc | ||
- name: 'type: task' | ||
- name: type:task | ||
description: A general task | ||
color: e3d9fc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
template: $CHANGES | ||
name-template: v$RESOLVED_VERSION | ||
name-template: $RESOLVED_VERSION | ||
tag-template: v$RESOLVED_VERSION | ||
categories: | ||
- title: ⭐️ Enhancements | ||
labels: | ||
- 'type: enhancement' | ||
- type:enhancement | ||
- title: "\U0001F41E Bug Fixes" | ||
labels: | ||
- 'type: bug' | ||
- type:bug | ||
- title: "\U0001F4D4 Documentation" | ||
labels: | ||
- 'type: documentation' | ||
- type:documentation | ||
- title: ⛏ Dependency Upgrades | ||
labels: | ||
- 'type: dependency-upgrade' | ||
- type:dependency-upgrade | ||
- title: "\U0001F6A7 Tasks" | ||
labels: | ||
- 'type: task' | ||
- type:task | ||
exclude-labels: | ||
- 'type: question' | ||
- type:question | ||
version-resolver: | ||
major: | ||
labels: | ||
- 'semver: major' | ||
- semver:major | ||
minor: | ||
labels: | ||
- 'semver: minor' | ||
- semver:minor | ||
patch: | ||
labels: | ||
- 'semver: patch' | ||
- semver:patch | ||
default: patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,37 @@ | ||
name: Tests | ||
"on": | ||
pull_request: {} | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
unit: | ||
name: Unit Test | ||
runs-on: | ||
- ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.15" | ||
- uses: actions/cache@v2 | ||
with: | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
path: ~/go/pkg/mod | ||
path: ${{ env.HOME }}/go/pkg/mod | ||
restore-keys: ${{ runner.os }}-go- | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.15" | ||
- name: Install richgo | ||
run: go get -u github.com/kyoh86/richgo | ||
run: | | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
GO111MODULE=on go get -u -ldflags="-s -w" github.com/kyoh86/richgo | ||
- name: Run Tests | ||
run: richgo test ./... | ||
run: | | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
richgo test ./... | ||
env: | ||
RICHGO_FORCE_COLOR: "1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters