Skip to content

Commit

Permalink
Develop (#36)
Browse files Browse the repository at this point in the history
* Feature/bump deps (#10)

* bump deps

* fix clippy

* fix tests

* remove commented out test block

* add back project-serum for tests

* add bootstrap script

* fix bootstrap

* test

* test nft-voter

* fix tests

* add scripts to package.json

* chore(release): publish 0.0.6

* bump deps

* chore(release): publish 0.0.7

* bump deps

* chore(release): publish 0.0.8

* Add devnet feature

* chore(release): publish 0.0.9

* Add recursive delegation for nft-style voting schems (#11)

* Chore/publish 0.0.12 (#33)

* chore(release): publish 0.0.12

* chore(release): publish 0.0.12

* Fix mod gov package.json

* chore(release): publish 0.0.13

* Bump version

---------

Co-authored-by: Bryan <[email protected]>
  • Loading branch information
ChewingGlass and bryzettler authored Sep 9, 2024
1 parent f3dbd8d commit 468cbed
Show file tree
Hide file tree
Showing 77 changed files with 1,889 additions and 61 deletions.
3 changes: 3 additions & 0 deletions .github/actions/setup-anchor/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ runs:
path: |
~/.cargo/bin/anchor
key: anchor-cli-${{ runner.os }}-v0003-${{ env.ANCHOR_VERSION }}-${{ env.ANCHOR_SHA }}
- run: rustup install 1.79 && rustup default 1.79
shell: bash
if: steps.cache-anchor-cli.outputs.cache-hit != 'true'
# if ANCHOR_VERSION is 0, then install the anchor-cli from source
- run: if [ $ANCHOR_VERSION -eq 0 ]; then cargo install --git https://github.com/coral-xyz/anchor --rev $ANCHOR_SHA anchor-cli --locked --force; else cargo install --git https://github.com/coral-xyz/anchor --tag "v$ANCHOR_VERSION" anchor-cli --locked; fi
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ runs:
shell: bash
- run: git submodule update --init --recursive --depth 1
shell: bash

2 changes: 2 additions & 0 deletions .github/workflows/develop-release-program.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
echo "programs_with_changes=$json" >> $GITHUB_OUTPUT
build_programs:
needs: [detect_changed_programs]
continue-on-error: true
runs-on: ubuntu-latest
if: needs.detect_changed_programs.outputs.programs_with_changes != '[]' && needs.detect_changed_programs.outputs.programs_with_changes != ''
strategy:
Expand Down Expand Up @@ -103,6 +104,7 @@ jobs:
publish_programs:
continue-on-error: true
needs: [detect_changed_programs, build_programs]
runs-on: ubuntu-latest
if: needs.detect_changed_programs.outputs.programs_with_changes != '[]' && needs.detect_changed_programs.outputs.programs_with_changes != ''
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
key: cargo-${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
- run: cargo build --locked
- run: cargo fmt -- --check
- run: cargo clippy --all-targets -- -D warnings -A clippy::result_large_err -A clippy::too_many_arguments -A clippy::uninlined-format-args -A ambiguous_glob_reexports

Expand All @@ -48,6 +49,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
key: cargo-${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
- run: cargo build --locked
- run: cargo test --lib

build:
Expand Down
1 change: 1 addition & 0 deletions Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ skip-lint = false
proposal = "propFYxqmVcufMhk5esNMrexq2ogHbbC2kP9PU1qxKs"
state_controller = "stcfiqW3fwD9QCd8Bqr1NBLrs7dftZHBQe7RiMMA4aM"
token_voter = "tokvN2E37T6NgLi6uQ8uj32959TZPUf2Jo8dXjLKBjF"
nft_proxy = "nprx42sXf5rpVnwBWEdRg1d8tuCWsTuVLys1pRWwE6p"
nft_voter = "nftvLQ5t6xe2nQF1NBmBBmn15ed59tU6vSCkwQNEqdc"
organization = "orgdXvHVLkWgBYerptASkAwkZAE563CJUu717dMNx5f"
organization_wallet = "orgwPMqJs9xft8UefUdKfyBwg6GDnN6oLhpMaKa6nJg"
Expand Down
30 changes: 28 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,48 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.0.11](https://github.com/helium/modular-governance/compare/v0.0.10...v0.0.11) (2024-06-17)
## [0.0.13](https://github.com/helium/modular-governance/compare/v0.0.12...v0.0.13) (2024-09-06)

**Note:** Version bump only for package modular-governance





## [0.0.10](https://github.com/helium/modular-governance/compare/v0.0.9...v0.0.10) (2024-03-28)
## [0.0.12](https://github.com/helium/modular-governance/compare/v0.0.10...v0.0.12) (2024-08-12)



## [0.0.8](https://github.com/helium/modular-governance/compare/v0.0.7...v0.0.8) (2023-11-10)



## [0.0.7](https://github.com/helium/modular-governance/compare/v0.0.6...v0.0.7) (2023-11-07)



## [0.0.6](https://github.com/helium/modular-governance/compare/v0.0.4...v0.0.6) (2023-11-06)

**Note:** Version bump only for package modular-governance





## [0.0.11](https://github.com/helium/modular-governance/compare/v0.0.10...v0.0.11) (2024-06-17)

**Note:** Version bump only for package modular-governance





## [0.0.10](https://github.com/helium/modular-governance/compare/v0.0.9...v0.0.10) (2024-03-28)

**Note:** Version bump only for package modular-governance



## [0.0.9](https://github.com/helium/modular-governance/compare/v0.0.8...v0.0.9) (2024-03-13)

**Note:** Version bump only for package modular-governance
Expand Down
Loading

0 comments on commit 468cbed

Please sign in to comment.