Skip to content

Commit

Permalink
chore: handle code review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
jtieri committed Sep 13, 2024
1 parent 7be9c1e commit 7f2f6cd
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,26 @@ env:
GO_VERSION: 1.22

jobs:
clippy-lint:
defaults:
run:
working-directory: local-interchain/rust/localic-std
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install stable with clippy and rustfmt
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
- name: Install clippy
run: rustup component add clippy
- name: Update
run: cargo update
- name: Run clippy
run: make lint

golangci:
name: golangci-lint
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ linters-settings:
- prefix(github.com/cosmos)
- prefix(github.com/cosmos/cosmos-sdk)
- prefix(github.com/cometbft/cometbft)
# TODO: Replace below with '- prefix(<project-package-name>)'
- prefix(github.com/strangelove-ventures/oss-repo-template)
- prefix(github.com/strangelove-ventures/interchaintest)
gosec:
excludes:
- G404 # disables checks on insecure random number source
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ builds:
env:
- CGO_ENABLED=0
ldflags:
- -X main.Version=$(VERSION)
- -X main.Version={{.Version}}
goos:
- linux
- windows
Expand Down

0 comments on commit 7f2f6cd

Please sign in to comment.