ci: add msrv check & update cargo.toml/readme rust-version to 1.60
This commit is contained in:
parent
cd8a93acd4
commit
f1e7f3d01b
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@ -7,7 +7,31 @@ on:
|
|||||||
- master
|
- master
|
||||||
pull_request: {}
|
pull_request: {}
|
||||||
|
|
||||||
|
env:
|
||||||
|
RUST_MSRV: 1.60.0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
msrv:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cargo/bin
|
||||||
|
~/.cargo/registry/index
|
||||||
|
~/.cargo/registry/cache
|
||||||
|
~/.cargo/git/db/
|
||||||
|
target
|
||||||
|
key: "${{ runner.os }}-cargo-build-msrv-${{ hashFiles('**/Cargo.lock') }}"
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: ${{ env.RUST_MSRV }}
|
||||||
|
override: true
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: check
|
||||||
# typical build with various feature combinations
|
# typical build with various feature combinations
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
|
@ -4,7 +4,7 @@ members = [".", "codegen"]
|
|||||||
[package]
|
[package]
|
||||||
name = "rhai"
|
name = "rhai"
|
||||||
version = "1.8.0"
|
version = "1.8.0"
|
||||||
rust-version = "1.57"
|
rust-version = "1.60"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
authors = ["Jonathan Turner", "Lukáš Hozda", "Stephen Chung", "jhwgh1968"]
|
authors = ["Jonathan Turner", "Lukáš Hozda", "Stephen Chung", "jhwgh1968"]
|
||||||
description = "Embedded scripting for Rust"
|
description = "Embedded scripting for Rust"
|
||||||
|
@ -27,7 +27,7 @@ Targets and builds
|
|||||||
* All CPU and O/S targets supported by Rust, including:
|
* All CPU and O/S targets supported by Rust, including:
|
||||||
* WebAssembly (WASM)
|
* WebAssembly (WASM)
|
||||||
* `no-std`
|
* `no-std`
|
||||||
* Minimum Rust version 1.57
|
* Minimum Rust version 1.60
|
||||||
|
|
||||||
|
|
||||||
Standard features
|
Standard features
|
||||||
|
Loading…
Reference in New Issue
Block a user