Skip to content

Commit

Permalink
Publish v2.2.0 (#719)
Browse files Browse the repository at this point in the history
* Add publish script, fixups for publish (git dependencies aren't allowed)

* Use publish cw-core for DAO DAO v1 interface

* Refactor publish script

* No wildcards... prevents publishing

* Rename dao-macros -> dao-dao-macros (already taken)

* Version fixups for already published packages

* Rename dao-core -> dao-dao (name take on crates.io)

* Rename cw-paginate -> cw-paginate-storage (name taken on crates.io)

* Add metadata for publishing

* Use published v1 packages

* Crago file cleanup

* Publish remaining packages

* Go back to wildcards

* Clean up and rename

* Breakout more stuff from dao-dao to dao-interface to reduce circular dependencies

* Remove dao-dao as a depenency of dao-voting

* Fix newly emerged clippy error

* Remove dao-dao-macros dep from dao-interface

* Publish packages script

* Test publish script v2.1.3

* Switch CI from rust nightly to stable

* Update schema

* Fix wrong package name in codecov

* Don't tag version at end of publish script

* v2.1.5 published on crates.io successfully

* Rename dao-dao -> dao-dao-core

* Turn of codecov failures for now

* v2.2.0 (will publish when merged to main)

* Fix last git dependency

* Fix integration test errors from dao-dao-core rename
  • Loading branch information
JakeHartnell authored Jul 9, 2023
1 parent 9261bb3 commit 7f89ad1
Show file tree
Hide file tree
Showing 141 changed files with 1,744 additions and 1,168 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install latest nightly toolchain
- name: Install latest stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
target: wasm32-unknown-unknown
override: true

- name: Run tests
uses: actions-rs/cargo@v1
with:
toolchain: nightly
toolchain: stable
command: unit-test
args: --locked
env:
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Compile WASM contract
uses: actions-rs/cargo@v1
with:
toolchain: nightly
toolchain: stable
command: wasm
args: --locked
env:
Expand All @@ -49,21 +49,21 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
override: true
components: rustfmt, clippy

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
toolchain: nightly
toolchain: stable
command: fmt
args: --all -- --check

- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
toolchain: nightly
toolchain: stable
command: clippy
args: --all-targets -- -D warnings

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
uses: actions/checkout@v2
- name: Generate code coverage
run: >
cargo +nightly tarpaulin --verbose --workspace --out Xml --exclude-files test-contracts/* *test*.rs packages/dao-macros/* packages/dao-testing/* ci/*
cargo +nightly tarpaulin --verbose --workspace --out Xml --exclude-files test-contracts/* *test*.rs packages/dao-dao-macros/* packages/dao-testing/* ci/*
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
fail_ci_if_error: false
Loading

0 comments on commit 7f89ad1

Please sign in to comment.