mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 09:50:01 +00:00
misc: remove cargo fmt setup action as it is already available (#15)
This PR remove the unneeded action that install rustfmt as it is now already available. It remove a step in the CI. The action removed is `dtolnay/rust-toolchain@stable` --------- Co-authored-by: Facundo Farall <37149322+ffarall@users.noreply.github.com>
This commit is contained in:
parent
8cd695676a
commit
b2031f4d00
3 changed files with 1 additions and 9 deletions
5
.github/workflows/rust-lint.yml
vendored
5
.github/workflows/rust-lint.yml
vendored
|
|
@ -58,11 +58,6 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
|
|
|
|||
3
.github/workflows/rust-tests.yml
vendored
3
.github/workflows/rust-tests.yml
vendored
|
|
@ -59,9 +59,6 @@ jobs:
|
|||
# By default actions/checkout checks out a merge commit. Check out the PR head instead.
|
||||
# https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.8
|
||||
with:
|
||||
cache: false
|
||||
- name: Run sccache-cache
|
||||
uses: mozilla-actions/sccache-action@v0.0.4
|
||||
- uses: rui314/setup-mold@v1
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ impl SubstrateCli for Cli {
|
|||
}
|
||||
|
||||
fn copyright_start_year() -> i32 {
|
||||
2017
|
||||
2025
|
||||
}
|
||||
|
||||
fn load_spec(&self, id: &str) -> Result<Box<dyn sc_service::ChainSpec>, String> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue