Skip to content

Commit

Permalink
fix CI submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
vic1707 committed Nov 15, 2024
1 parent 4d2da40 commit a9eac8a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 22 deletions.
45 changes: 23 additions & 22 deletions .github/workflows/fmt.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
name: Fmt
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
pre_ci:
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master
fmt_and_lint:
needs: pre_ci
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v4
-
name: Install Rust
uses: IronCoreLabs/rust-toolchain@v1
-
name: Rust fmt
run: cargo fmt --all -- --check
-
name: Rust clippy
run: cargo clippy
pre_ci:
uses: dtolnay/.github/.github/workflows/pre_ci.yml@master
fmt_and_lint:
needs: pre_ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Install Rust
uses: IronCoreLabs/rust-toolchain@v1

- name: Rust fmt
run: cargo fmt --all -- --check

- name: Rust clippy
run: cargo clippy
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
submodules: true
- uses: IronCoreLabs/rust-toolchain@v1
- uses: dtolnay/install@cargo-docs-rs
- run: cargo docs-rs
Expand All @@ -21,6 +23,8 @@ jobs:
needs: ensure-doc
steps:
- uses: actions/[email protected]
with:
submodules: true

- name: Retreive version from Cargo.toml
id: new-version
Expand Down

0 comments on commit a9eac8a

Please sign in to comment.