Skip to content

Commit 0a81817

Browse files
authored
Merge pull request #76 from light-curve/msrv
MSRV
2 parents 8ab622c + 260bbd0 commit 0a81817

File tree

4 files changed

+47
-5
lines changed

4 files changed

+47
-5
lines changed

.github/workflows/test.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,48 @@ jobs:
146146
- name: Build for ${{ matrix.name }}
147147
run: maturin build --manylinux=off --cargo-extra-args='${{ matrix.cargo_extra_args }}'
148148

149+
msrv-build:
150+
runs-on: ubuntu-latest
151+
152+
defaults:
153+
run:
154+
working-directory: light-curve
155+
156+
steps:
157+
- uses: actions/checkout@v3
158+
- name: Set up Python 3.6
159+
uses: actions/setup-python@v3
160+
with:
161+
python-version: '3.6'
162+
- name: Set up Python 3.7
163+
uses: actions/setup-python@v3
164+
with:
165+
python-version: '3.7'
166+
- name: Set up Python 3.8
167+
uses: actions/setup-python@v3
168+
with:
169+
python-version: '3.8'
170+
- name: Set up Python 3.9
171+
uses: actions/setup-python@v3
172+
with:
173+
python-version: '3.9'
174+
- name: Set up Python 3.10
175+
uses: actions/setup-python@v3
176+
with:
177+
python-version: '3.10'
178+
- name: Get minimum supported Rust version
179+
run: echo "::set-output name=msrv::$(grep '^rust-version = ' Cargo.toml | grep -o '[0-9.]\+')"
180+
id: get_msrv
181+
- uses: actions-rs/toolchain@v1
182+
with:
183+
toolchain: ${{ steps.get_msrv.outputs.msrv }}
184+
- name: Install maturin
185+
run: pip install maturin
186+
- name: Build
187+
run: |
188+
rustup default ${{ steps.get_msrv.outputs.msrv }}
189+
maturin build
190+
149191
arm:
150192

151193
runs-on: [self-hosted, linux, ARM64]

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Changed
1515

16-
16+
- `light-curve-feature` 0.4.5 -> 0.4.6
1717

1818
### Deprecated
1919

@@ -25,7 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2525

2626
### Fixed
2727

28-
28+
- Minimum supported Rust version 1.56 wasn't actually supported, `light-curve-feature` upgrade fixed it
2929

3030
### Security
3131

light-curve/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

light-curve/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ rayon = "~1.5.3"
4444
unzip3 = "1.0.0"
4545

4646
[dependencies.light-curve-feature]
47-
version = "0.4.5"
47+
version = "0.4.6"
4848
default_features = false
4949

5050
[dependencies.pyo3]

0 commit comments

Comments
 (0)