Offer Maven package at SDK repository #1002
Workflow file for this run
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
--- | |
name: Direct Minimum Version | |
on: | |
pull_request: | |
push: | |
branches: | |
- "master" | |
- "rc" | |
- "hotfix-rc" | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
direct-minimal-versions: | |
name: Check dependencies minimal versions for - ${{ matrix.settings.os }} - ${{ matrix.settings.target }} | |
runs-on: ${{ matrix.settings.os || 'ubuntu-latest' }} | |
strategy: | |
fail-fast: false | |
matrix: | |
settings: | |
#- os: macos-12 | |
# target: x86_64-apple-darwin | |
#- os: macos-12 | |
# target: aarch64-apple-darwin | |
- os: windows-2022 | |
target: x86_64-pc-windows-msvc | |
- os: ubuntu-22.04 | |
target: x86_64-unknown-linux-gnu | |
steps: | |
- name: Checkout | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | |
- name: Install rust | |
uses: dtolnay/rust-toolchain@5cb429dd810e16ff67df78472fa81cf760f4d1c0 # stable | |
with: | |
toolchain: nightly | |
targets: ${{ matrix.settings.target }} | |
- name: Cache cargo registry | |
uses: Swatinem/rust-cache@e207df5d269b42b69c8bc5101da26f7d31feddb4 # v2.6.2 | |
with: | |
key: dmv-${{ matrix.settings.target }}-cargo-${{ matrix.settings.os }} | |
- name: cargo check direct-minimal-versions | |
run: cargo check -Z direct-minimal-versions --all-features |