-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5cd82fd
commit 4e10a11
Showing
1 changed file
with
1 addition
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,72 +79,4 @@ jobs: | |
uses: giraffate/clippy-action@v1 | ||
with: | ||
reporter: "github-pr-check" | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
doc: | ||
# Run docs generation on nightly rather than stable. This enables features | ||
# like https://doc.rust-lang.org/beta/unstable-book/language-features/doc-cfg.html | ||
# which allows an API be documented as only available in some specific | ||
# platforms. | ||
runs-on: ubuntu-latest | ||
name: nightly / doc | ||
defaults: | ||
run: | ||
working-directory: target_chains/ethereum/sdk/stylus | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Install rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: nightly-2024-01-01 | ||
target: x86_64-unknown-linux-gnu | ||
rustflags: "" | ||
- name: Install cargo-stylus | ||
run: cargo install [email protected] | ||
|
||
- name: Cargo doc | ||
run: cargo doc --no-deps --all-features | ||
env: | ||
RUSTDOCFLAGS: --cfg docsrs | ||
hack: | ||
# `cargo-hack` checks combinations of feature flags to ensure that features | ||
# are all additive which is required for feature unification. | ||
runs-on: ubuntu-latest | ||
name: ubuntu / stable / features | ||
defaults: | ||
run: | ||
working-directory: target_chains/ethereum/sdk/stylus | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Install rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: stable | ||
target: wasm32-unknown-unknown | ||
rustflags: "" | ||
|
||
- name: Cargo install cargo-hack | ||
uses: taiki-e/install-action@cargo-hack | ||
# Intentionally no target specifier; see https://github.com/jonhoo/rust-ci-conf/pull/4 | ||
# `--feature-powerset` runs for every combination of features. Note that | ||
# target in this context means one of `--lib`, `--bin`, etc, and not the | ||
# target triple. | ||
- name: Cargo hack | ||
run: cargo hack check --feature-powerset --depth 2 --release --target wasm32-unknown-unknown --skip std --workspace --exclude e2e --exclude basic-example-script --exclude benches | ||
typos: | ||
runs-on: ubuntu-latest | ||
name: ubuntu / stable / typos | ||
defaults: | ||
run: | ||
working-directory: target_chains/ethereum/sdk/stylus | ||
steps: | ||
- name: Checkout Actions Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check spelling of files in the workspace | ||
uses: crate-ci/[email protected] | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |