-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from astroport-fi/feat/astroport_governance_v3
feat: release Astroport Governance v3
- Loading branch information
Showing
143 changed files
with
23,152 additions
and
10,265 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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: Compiled binaries checks | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
check-artifacts-size: | ||
runs-on: ubuntu-latest | ||
name: Check Artifacts Size | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cargo/bin | ||
~/.cargo/git/checkouts | ||
~/.cargo/git/db | ||
~/.cargo/registry/cache | ||
~/.cargo/registry/index | ||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
|
||
- name: Build Artifacts | ||
run: | | ||
docker run \ | ||
-v "$GITHUB_WORKSPACE":/code \ | ||
-v ~/.cargo/registry:/usr/local/cargo/registry \ | ||
-v ~/.cargo/git:/usr/local/cargo/git \ | ||
cosmwasm/workspace-optimizer:0.15.1 | ||
- name: Save artifacts cache | ||
uses: actions/cache/save@v3 | ||
with: | ||
path: artifacts | ||
key: ${{ runner.os }}-artifacts-${{ hashFiles('**/Cargo.lock') }} | ||
|
||
- name: Check Artifacts Size | ||
run: | | ||
$GITHUB_WORKSPACE/scripts/check_artifacts_size.sh | ||
cosmwasm-check: | ||
runs-on: ubuntu-latest | ||
name: Cosmwasm check | ||
needs: check-artifacts-size | ||
steps: | ||
# We need this only to get Cargo.lock | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
- name: Restore cached artifacts | ||
uses: actions/cache/restore@v3 | ||
with: | ||
path: artifacts | ||
key: ${{ runner.os }}-artifacts-${{ hashFiles('**/Cargo.lock') }} | ||
fail-on-cache-miss: true | ||
- name: Install cosmwasm-check | ||
# Uses --debug for compilation speed | ||
run: cargo install --debug --version 1.4.0 cosmwasm-check | ||
- name: Cosmwasm check | ||
run: | | ||
cosmwasm-check $GITHUB_WORKSPACE/artifacts/*.wasm --available-capabilities staking,iterator,stargate,cosmwasm_1_1 |
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.