-
Notifications
You must be signed in to change notification settings - Fork 3
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 #6 from bbkane/git-xargs/format-yaml
Format yaml and add lint
- Loading branch information
Showing
5 changed files
with
72 additions
and
65 deletions.
There are no files selected for viewing
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,38 +1,34 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v[0-9]+.[0-9]+.[0-9]+" | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
ci: | ||
uses: ./.github/workflows/ci.yml | ||
setup: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
needs: ci | ||
runs-on: ubuntu-latest | ||
steps: | ||
# https://github.com/marketplace/actions/checkout` | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
|
||
# https://github.com/marketplace/actions/setup-go-environment | ||
- name: Set up Go 1.x >= 1.18 | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version-file: go.mod | ||
# requires go.sum file (i.e., external libraries) | ||
cache: true | ||
|
||
go-version-file: go.mod | ||
# https://github.com/marketplace/actions/goreleaser-action | ||
- name: Run GoReleaser | ||
- env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
KEY_GITHUB_GORELEASER_TO_HOMEBREW_TAP: ${{ secrets.KEY_GITHUB_GORELEASER_TO_HOMEBREW_TAP }} | ||
name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v3 | ||
with: | ||
version: latest | ||
args: release --rm-dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
KEY_GITHUB_GORELEASER_TO_HOMEBREW_TAP: ${{ secrets.KEY_GITHUB_GORELEASER_TO_HOMEBREW_TAP }} | ||
version: latest | ||
name: Release | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
tags: | ||
- v[0-9]+.[0-9]+.[0-9]+ | ||
permissions: | ||
contents: write |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
extends: default | ||
rules: | ||
comments: | ||
ignore-shebangs: true | ||
min-spaces-from-content: 1 | ||
require-starting-space: true | ||
document-start: disable | ||
key-duplicates: disable | ||
key-ordering: enable | ||
line-length: disable | ||
trailing-spaces: disable |
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