-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Interchain Adair <[email protected]>
- Loading branch information
Showing
158 changed files
with
1,660 additions
and
1,056 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 |
---|---|---|
|
@@ -7,10 +7,10 @@ on: | |
paths: | ||
- "framework/**" | ||
pull_request: | ||
paths: | ||
paths: | ||
- "framework/**" | ||
|
||
env: | ||
env: | ||
SCCACHE_GHA_ENABLED: "true" | ||
RUSTC_WRAPPER: "sccache" | ||
|
||
|
@@ -63,7 +63,7 @@ jobs: | |
toolchain: ${{ matrix.toolchain }} | ||
components: clippy | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
with: | ||
workspaces: "framework -> target" | ||
- name: cargo clippy | ||
working-directory: ./framework | ||
|
@@ -112,37 +112,30 @@ jobs: | |
- name: cargo install cargo-hack | ||
uses: taiki-e/install-action@cargo-hack | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
workspaces: "framework -> target" | ||
with: | ||
workspaces: "framework -> target" | ||
- name: cargo hack | ||
working-directory: ./framework | ||
run: cargo hack --feature-powerset check --lib --tests | ||
# Find any unused dependencies | ||
unused-deps: | ||
runs-on: ubuntu-latest | ||
name: nigtly / unused-deps | ||
name: stable / unused-deps | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: | | ||
${{ secrets.SSH_PRIVATE_KEY_MULTI_TEST }} | ||
${{ secrets.SSH_PRIVATE_KEY_CW_ORCH_INTERCHAIN }} | ||
- name: Setup sccache | ||
uses: mozilla-actions/[email protected] | ||
with: | ||
version: "v0.8.1" | ||
- name: Install nightly | ||
uses: dtolnay/rust-toolchain@nightly | ||
- name: cargo install cargo-udeps | ||
uses: taiki-e/install-action@cargo-udeps | ||
- name: cargo install cargo-workspaces | ||
run: cargo +stable install cargo-workspaces | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
workspaces: "framework -> target" | ||
- name: cargo udeps framework | ||
- name: Install stable | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: stable | ||
- name: Install cargo-machete | ||
working-directory: ./framework | ||
run: cargo install cargo-machete | ||
- name: Install cargo-machete | ||
working-directory: ./framework | ||
run: cargo workspaces exec cargo +nightly udeps --workspace --exclude "workspace-hack" | ||
run: cargo machete ./contracts/* ./packages/* |
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 |
---|---|---|
|
@@ -23,11 +23,6 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: | | ||
${{ secrets.SSH_PRIVATE_KEY_MULTI_TEST }} | ||
${{ secrets.SSH_PRIVATE_KEY_CW_ORCH_INTERCHAIN }} | ||
- name: Setup sccache | ||
uses: mozilla-actions/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -39,7 +39,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
toolchain: [stable, beta] | ||
toolchain: [stable] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
|
@@ -99,7 +99,7 @@ jobs: | |
--mutually-exclusive-features \ | ||
wynd,osmosis,astroport,bow,terraswap,astrovault,testing,osmosis-test,node-tests,interface,cw-orch,schema \ | ||
--lib --tests | ||
# Find any unused dependencies | ||
unused-deps: | ||
runs-on: ubuntu-latest | ||
|
@@ -108,21 +108,17 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: | | ||
${{ secrets.SSH_PRIVATE_KEY_MULTI_TEST }} | ||
${{ secrets.SSH_PRIVATE_KEY_CW_ORCH_INTERCHAIN }} | ||
- name: Setup sccache | ||
uses: mozilla-actions/[email protected] | ||
with: | ||
version: "v0.8.1" | ||
- name: Install nightly | ||
uses: dtolnay/rust-toolchain@nightly | ||
- name: cargo install cargo-udeps | ||
uses: taiki-e/install-action@cargo-udeps | ||
- name: cargo install cargo-workspaces | ||
run: cargo +stable install cargo-workspaces | ||
- name: cargo udeps modules | ||
- name: Install stable | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: stable | ||
- name: Install cargo-machete | ||
working-directory: ./modules | ||
run: cargo install cargo-machete | ||
- name: Install cargo-machete | ||
working-directory: ./modules | ||
run: cargo workspaces exec cargo +nightly udeps | ||
run: cargo machete |
Oops, something went wrong.