Skip to content

Commit

Permalink
chore: make yaml linter happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Feb 2, 2022
1 parent ef02b1a commit 0550908
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# This type of prelease is useful to make your bleeding-edge binaries available to advanced users.
#
# The workflow will not run if there is no tag pushed with a "v" prefix and no change pushed to your
# The workflow will not run if there is no tag pushed with a "v" prefix and no change pushed to your
# default branch.
on: push

Expand All @@ -22,12 +22,12 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Prepare Release Variables

- name: Prepare Release Variables
id: vars
uses: tendermint/starport/actions/release/vars@develop

- name: Issue Release Assets
- name: Issue Release Assets
uses: tendermint/starport/actions/cli@develop
if: ${{ steps.vars.outputs.should_release == 'true' }}
with:
Expand All @@ -48,6 +48,6 @@ jobs:
with:
tag_name: ${{ steps.vars.outputs.tag_name }}
files: release/*
prerelease: true
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12 changes: 8 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,17 @@ issues:
max-same-issues: 0
exclude-rules:
- source: "^//\\s*go:generate\\s"
linters: lll
linters:
- lll
- source: "(noinspection|TODO)"
linters: godot
linters:
- godot
- source: "//noinspection"
linters: gocritic
linters:
- gocritic
- source: "^\\s+if _, ok := err\\.\\([^.]+\\.InternalError\\); ok {"
linters: errorlint
linters:
- errorlint
- path: "_test\\.go"
linters:
- bodyclose
Expand Down
2 changes: 2 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
extends: default
ignore: |
openapi.yml
rules:
document-start: disable
line-length:
Expand Down

0 comments on commit 0550908

Please sign in to comment.