Skip to content

Commit

Permalink
fix(ci): add rust-versions and re-enable minimal version checks
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Apr 1, 2023
1 parent 86e9f7f commit b509cc2
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 16 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/ci.yml
Expand Up @@ -82,19 +82,16 @@ jobs:
# MIRIFLAGS: -Zmiri-disable-isolation -Zmiri-strict-provenance
# run: cargo miri test --all --verbose

# TODO: Re-enable when we're ready to start releasing crates. It doesn't
# matter for orogene itself, but sub-crates *should* have this check done.
#
# minimal_versions: name: Minimal versions check runs-on: ${{ matrix.os }}
# strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest]
minimal_versions: name: Minimal versions check runs-on: ${{ matrix.os }}
strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest]

# steps:
# - uses: actions/checkout@v1
# - name: Install Rust
# uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: nightly
# override: true
# - name: Run minimal version build
# run: cargo build -Z minimal-versions --all-features
steps:
- uses: actions/checkout@v1
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- name: Run minimal version build
run: cargo build --all -Z minimal-versions --all-features
1 change: 1 addition & 0 deletions crates/nassun/Cargo.toml
Expand Up @@ -8,6 +8,7 @@ license = "Apache-2.0"
repository = "https://github.com/orogene/orogene"
homepage = "https://github.com/orogene/orogene"
readme = "README.md"
rust-version = "1.67.1"

[dependencies]
oro-common = { version = "=0.3.15", path = "../oro-common" }
Expand Down
1 change: 1 addition & 0 deletions crates/node-maintainer/Cargo.toml
Expand Up @@ -8,6 +8,7 @@ license = "Apache-2.0"
repository = "https://github.com/orogene/orogene"
homepage = "https://github.com/orogene/orogene"
readme = "README.md"
rust-version = "1.67.1"

[dependencies]
nassun = { version = "=0.3.15", path = "../nassun" }
Expand Down
2 changes: 1 addition & 1 deletion crates/oro-client/Cargo.toml
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0"
repository = "https://github.com/orogene/orogene"
homepage = "https://github.com/orogene/orogene"
readme = "README.md"

rust-version = "1.67.1"

[dependencies]
oro-common = { version = "=0.3.15", path = "../oro-common" }
Expand Down
1 change: 1 addition & 0 deletions crates/oro-common/Cargo.toml
Expand Up @@ -8,6 +8,7 @@ license = "Apache-2.0"
repository = "https://github.com/orogene/orogene"
homepage = "https://github.com/orogene/orogene"
readme = "README.md"
rust-version = "1.67.1"

[dependencies]
derive_builder = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions crates/oro-config-derive/Cargo.toml
Expand Up @@ -8,6 +8,7 @@ license = "Apache-2.0"
repository = "https://github.com/orogene/orogene"
homepage = "https://github.com/orogene/orogene"
readme = "README.md"
rust-version = "1.67.1"

[lib]
path = "src/lib.rs"
Expand Down
1 change: 1 addition & 0 deletions crates/oro-config/Cargo.toml
Expand Up @@ -8,6 +8,7 @@ license = "Apache-2.0"
repository = "https://github.com/orogene/orogene"
homepage = "https://github.com/orogene/orogene"
readme = "README.md"
rust-version = "1.67.1"

[dependencies]
oro-config-derive = { version = "=0.3.15", path = "../oro-config-derive" }
Expand Down
1 change: 1 addition & 0 deletions crates/oro-package-spec/Cargo.toml
Expand Up @@ -8,6 +8,7 @@ license = "Apache-2.0"
repository = "https://github.com/orogene/orogene"
homepage = "https://github.com/orogene/orogene"
readme = "README.md"
rust-version = "1.67.1"

[dependencies]
bytecount = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions crates/oro-script/Cargo.toml
Expand Up @@ -8,6 +8,7 @@ license = "Apache-2.0"
repository = "https://github.com/orogene/orogene"
homepage = "https://github.com/orogene/orogene"
readme = "README.md"
rust-version = "1.67.1"

[dependencies]
oro-common = { version = "=0.3.15", path = "../oro-common" }
Expand Down
1 change: 1 addition & 0 deletions crates/oro-shim-bin/Cargo.toml
Expand Up @@ -8,6 +8,7 @@ license = "ISC"
repository = "https://github.com/orogene/orogene"
homepage = "https://github.com/orogene/orogene"
readme = "README.md"
rust-version = "1.67.1"

[dependencies]
once_cell = { workspace = true }
Expand Down

0 comments on commit b509cc2

Please sign in to comment.