Skip to content

Commit

Permalink
Merge pull request #84 from Phoenix-Protocol-Group/release-v0-5-0
Browse files Browse the repository at this point in the history
Release v0.5.0
  • Loading branch information
ueco-jb authored Aug 4, 2023
2 parents 2c2557f + 904322c commit c986e29
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 13 deletions.
30 changes: 26 additions & 4 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
path: |
~/.cargo
target
key: ${{ runner.os }}-rust-${{ matrix.rust-version }}-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-rust-${{ matrix.rust-version }}
restore-keys: ${{ runner.os }}-rust-${{ matrix.rust-version }}-
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -38,14 +39,25 @@ jobs:
needs: build
name: Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
rust-version: [1.71.0]
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.cargo
target
key: ${{ runner.os }}-rust-${{ matrix.rust-version }}
restore-keys: ${{ runner.os }}-rust-${{ matrix.rust-version }}-
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.71.0
toolchain: ${{ matrix.rust-version }}
target: wasm32-unknown-unknown
override: true
- name: Install soroban-cli
Expand All @@ -60,15 +72,25 @@ jobs:
needs: build
name: Lints
runs-on: ubuntu-latest
strategy:
matrix:
rust-version: [1.71.0]
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.cargo
target
key: ${{ runner.os }}-rust-${{ matrix.rust-version }}
restore-keys: ${{ runner.os }}-rust-${{ matrix.rust-version }}-
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.71.0
toolchain: ${{ matrix.rust-version }}
override: true
target: wasm32-unknown-unknown
components: rustfmt, clippy
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,25 @@ jobs:
name: Code Coverage
# https://github.com/actions/virtual-environments
runs-on: ubuntu-20.04
strategy:
matrix:
rust-version: [1.71.0]
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.cargo
target
key: ${{ runner.os }}-rust-${{ matrix.rust-version }}
restore-keys: ${{ runner.os }}-rust-${{ matrix.rust-version }}-
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.71.0
toolchain: ${{ matrix.rust-version }}
target: wasm32-unknown-unknown
override: true
- name: Install soroban-cli
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,25 @@ on:
jobs:
release-artifacts:
runs-on: ubuntu-latest
strategy:
matrix:
rust-version: [1.71.0]
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.cargo
target
key: ${{ runner.os }}-rust-${{ matrix.rust-version }}
restore-keys: ${{ runner.os }}-rust-${{ matrix.rust-version }}-
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.71.0
toolchain: ${{ matrix.rust-version }}
target: wasm32-unknown-unknown
override: true
- name: Install soroban-cli
Expand Down
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ and this project adheres to

## [Unreleased]

## [0.5.0] - 2023-08-04

## Added

- Stake: Implement bonding and unbonding ([#78] [#79])

## Changed

- Update soroban-sdk from v0.8.4 to v0.9.2 ([#81])

[#78]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/pull/78
[#79]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/pull/79
[#81]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/pull/81

## [0.4.0] - 2023-07-04

### Fixed
Expand Down Expand Up @@ -89,7 +103,8 @@ and this project adheres to
[#19]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/pull/19
[#24]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/pull/24

[unreleased]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/compare/v0.4.0...HEAD
[unreleased]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/compare/v0.5.0...HEAD
[0.5.0]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/compare/v0.4.0...v0.5.0
[0.4.0]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/compare/v0.3.1...v0.4.0
[0.3.1]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/compare/v0.2.7...v0.3.1
[0.2.7]: https://github.com/Phoenix-Protocol-Group/phoenix-contracts/compare/v0.2.0...v0.2.7
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["contracts/*", "packages/*"]
resolver = "2"

[workspace.package]
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "GPL 3.0"
repository = "https://github.com/Phoenix-Protocol-Group/phoenix-contracts"
Expand Down

0 comments on commit c986e29

Please sign in to comment.