Skip to content

Commit

Permalink
Prepare for BelieveAthon (#548)
Browse files Browse the repository at this point in the history
Co-authored-by: Interchain Adair <[email protected]>
  • Loading branch information
Kayanski and adairrr authored Dec 16, 2024
1 parent 8649474 commit ca2270a
Show file tree
Hide file tree
Showing 158 changed files with 1,660 additions and 1,056 deletions.
37 changes: 15 additions & 22 deletions .github/workflows/framework-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ on:
paths:
- "framework/**"
pull_request:
paths:
paths:
- "framework/**"

env:
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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/*
5 changes: 0 additions & 5 deletions .github/workflows/framework-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
26 changes: 11 additions & 15 deletions .github/workflows/modules-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
strategy:
fail-fast: false
matrix:
toolchain: [stable, beta]
toolchain: [stable]
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -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
Expand All @@ -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
Loading

0 comments on commit ca2270a

Please sign in to comment.