-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: check MSRV correctly #849
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
215f081
Squashed commit of the following:
xxchan 5811560
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback cargo +stable gene…
xxchan c7d3860
fix compile
xxchan 77a90af
- change datafusion & s3tables MSRV
xxchan 83f2c04
use plain cargo check in CI
xxchan 3a8ea32
fix
xxchan 438c34b
generate-lockfile -Z minimal-versions
xxchan 13396fb
revert cargo.lock
xxchan 1196d00
fix
xxchan 087de68
fix
xxchan 9de2bcb
fix
xxchan cced4b7
use direct-minimal-versions
xxchan a146d26
fix
xxchan 52b6247
fix transitive dependencies
xxchan 981308f
revert cargo.lock
xxchan 6bdb876
remove outdated referece
xxchan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,9 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Rust toolchain | ||
uses: ./.github/actions/setup-builder | ||
|
||
- name: Check License Header | ||
uses: apache/skywalking-eyes/[email protected] | ||
|
||
|
@@ -89,8 +92,6 @@ jobs: | |
|
||
- name: Setup Rust toolchain | ||
uses: ./.github/actions/setup-builder | ||
with: | ||
rust-version: ${{ env.rust_msrv }} | ||
|
||
- name: Cache Rust artifacts | ||
uses: Swatinem/rust-cache@v2 | ||
|
@@ -109,6 +110,9 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Rust toolchain | ||
uses: ./.github/actions/setup-builder | ||
|
||
- name: Cache Rust artifacts | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
|
@@ -122,8 +126,6 @@ jobs: | |
|
||
- name: Setup Rust toolchain | ||
uses: ./.github/actions/setup-builder | ||
with: | ||
rust-version: ${{ env.rust_msrv }} | ||
|
||
- name: Cache Rust artifacts | ||
uses: Swatinem/rust-cache@v2 | ||
|
@@ -136,3 +138,24 @@ jobs: | |
|
||
- name: Doc Test | ||
run: cargo test --no-fail-fast --doc --all-features --workspace | ||
|
||
msrv: | ||
name: Verify MSRV | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Nightly Rust toolchain | ||
uses: ./.github/actions/setup-builder | ||
- name: Generate minimal versions lockfile | ||
run: | | ||
cargo generate-lockfile -Z direct-minimal-versions -Z minimal-versions | ||
# Some dependencies don't correctly specify a minimal version for their dependencies and will fail to build. | ||
# So we update these transitive dependencies here. | ||
cargo update tap faststr metainfo linkedbytes | ||
- name: Setup MSRV Rust toolchain | ||
uses: ./.github/actions/setup-builder | ||
with: | ||
rust-version: ${{ env.rust_msrv }} | ||
- name: Check MSRV | ||
run: | | ||
cargo +${{ env.rust_msrv }} check --locked --workspace --exclude iceberg-datafusion --exclude iceberg-catalog-s3tables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S3 tables is a quite new package, so we can't maintain a low MSRV.