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 #378 from openmina/develop
Merge `develop` into `main`
- Loading branch information
Showing
326 changed files
with
11,747 additions
and
4,735 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
14 changes: 10 additions & 4 deletions
14
.github/workflows/rustfmt.yml → .github/workflows/lint.yml
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,22 +1,28 @@ | ||
name: rustfmt | ||
name: lint | ||
|
||
on: | ||
push: | ||
branches: [ main, develop ] | ||
pull_request: | ||
|
||
jobs: | ||
rustfmt: | ||
name: Rustfmt | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: 1.77 | ||
components: rustfmt, clippy | ||
default: true | ||
- run: rustup component add rustfmt | ||
- uses: actions-rs/cargo@v1 | ||
name: rustfmt | ||
with: | ||
command: fmt | ||
args: --all -- --check | ||
- uses: actions-rs/clippy-check@v1 | ||
name: clippy | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
args: --all-targets -- -A clippy::too_many_arguments -A clippy::doc_markdown |
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
Oops, something went wrong.