feat: add CODE_OF_CONDUCT.md, SECURITY.md, and CONTRIBUTING.md #2964
Workflow file for this run
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
name: golangci-lint | |
on: | |
pull_request: | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21' | |
cache: false | |
- uses: actions/checkout@v4 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.54 | |
only-new-issues: true | |
args: --timeout=10m | |
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 | |