Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeline Polishing #7

Merged
merged 1 commit into from
Sep 24, 2020
Merged
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
10 changes: 4 additions & 6 deletions .github/workflows/minimal-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,21 @@ name: Minimal Labels
pull_request: {}
jobs:
semver:
name: SemVer
name: Minimal Semver Labels
runs-on:
- ubuntu-latest
steps:
- name: Require Labels
uses: mheap/github-action-required-labels@v1
- uses: mheap/github-action-required-labels@v1
with:
count: 1
labels: 'semver: major,semver: minor,semver: patch'
mode: exactly
type:
name: Type
name: Minimal Type Labels
runs-on:
- ubuntu-latest
steps:
- name: Require Labels
uses: mheap/github-action-required-labels@v1
- uses: mheap/github-action-required-labels@v1
with:
count: 1
labels: 'type: bug,type: dependency-upgrade,type: documentation,type: enhancement,type: question,type: task'
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/synchronize-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ jobs:
runs-on:
- ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Label Syncer
uses: micnncim/action-label-syncer@v1
- uses: actions/checkout@v2
- uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 10 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
name: Test
name: Tests
"on":
pull_request: {}
jobs:
test:
name: Test
unit:
name: Unit Test
runs-on:
- ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go environment
uses: actions/setup-go@v2
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.15"
- name: Cache
uses: actions/cache@v2
- uses: actions/cache@v2
with:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
path: ~/go/pkg/mod
restore-keys: ${{ runner.os }}-go-
- name: Install richgo
run: go get -u github.com/kyoh86/richgo
- name: Test
run: RICHGO_FORCE_COLOR=1 richgo test ./...
- name: Run Tests
run: richgo test ./...
env:
RICHGO_FORCE_COLOR: "1"
7 changes: 3 additions & 4 deletions .github/workflows/update-release.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Update Release
name: Update Draft Release
"on":
push:
branches:
- main
jobs:
update:
name: Update Release
name: Update Draft Release
runs-on:
- ubuntu-latest
steps:
- name: Release Drafter
uses: release-drafter/release-drafter@v5
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}