Skip to content

Commit

Permalink
Merge pull request #188 from ngyn-rs/dev
Browse files Browse the repository at this point in the history
v0.4.5 - Tests, Responses, Platforms Improvements
  • Loading branch information
elcharitas authored Sep 9, 2024
2 parents 6604a0d + e1b0c4b commit 0e9acea
Show file tree
Hide file tree
Showing 68 changed files with 2,342 additions and 458 deletions.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
27 changes: 9 additions & 18 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install msrv toolchain
uses: dtolnay/[email protected]

- uses: Swatinem/rust-cache@v1

Expand All @@ -34,20 +30,18 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest] #, windows-latest]
rust: [stable]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Install msrv toolchain
uses: dtolnay/[email protected]

- uses: Swatinem/rust-cache@v1

- name: Install cargo-expand
run: cargo install cargo-expand

- name: Run cargo test
uses: actions-rs/cargo@v1
Expand All @@ -63,12 +57,9 @@ jobs:
with:
submodules: true

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
- name: Install msrv toolchain
uses: dtolnay/rust-toolchain@1.75.0
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy

- uses: Swatinem/rust-cache@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
timeout-minutes: 25
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@1.75.0

- name: cargo-release Cache
id: cargo_release_cache
Expand All @@ -20,7 +20,7 @@ jobs:
path: ~/.cargo/bin/cargo-release
key: ${{ runner.os }}-cargo-release

- run: cargo install cargo-release
- run: cargo install cargo-release cargo-expand
if: steps.cargo_release_cache.outputs.cache-hit != 'true'

- name: cargo login
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,12 @@ jobs:
}
}
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install msrv toolchain
uses: dtolnay/[email protected]

- name: Bump workspace version
run: |
cargo install cargo-workspaces
cargo install cargo-workspaces cargo-expand
cargo workspaces --manifest-path ./crates/Cargo.toml version ${{ steps.extract_version.outputs.version || github.event.inputs.version }} --all --allow-branch dev --message "chore(release): Bump version to %v" --no-global-tag --no-individual-tags -y
- name: Commit and push changes
Expand Down
139 changes: 0 additions & 139 deletions CHANGELOG.md

This file was deleted.

Loading

0 comments on commit 0e9acea

Please sign in to comment.