Skip to content

Commit

Permalink
Tweak workspace.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Jun 26, 2024
1 parent 8a2528b commit 07e489f
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,14 @@ jobs:
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@master
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt

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

doc:
name: rustdoc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -46,7 +40,6 @@ jobs:
# We need Nightly for doc_auto_cfg
toolchain: nightly-2024-06-25
- uses: Swatinem/rust-cache@v2
- name: Generate Docs
env:
- env:
RUSTDOCFLAGS: "-Dwarnings --cfg docsrs"
run: cargo doc --no-deps --features std,pem,serde,hazmat,sha2

0 comments on commit 07e489f

Please sign in to comment.