Skip to content

Commit

Permalink
Remove msrv compliance (as Odilia requires nightly)
Browse files Browse the repository at this point in the history
  • Loading branch information
TTWNO committed Nov 20, 2024
1 parent b9d6983 commit aff31e8
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,36 +173,36 @@ jobs:
uses: codecov/codecov-action@v3
with:
fail_ci_if_fail: true
find-msrv:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.step2.outputs.version }}
steps:
- uses: actions/checkout@v4
- id: step2
run: echo "version=`cat odilia/Cargo.toml | sed -n 's/rust-version = "\(.*\)"/\1/p'`" >> "$GITHUB_OUTPUT"
msrv-compliance:
needs: [find-msrv]
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Cache cargo home
uses: actions/cache@v3
env:
cache-name: cache-cargo-home
with:
path: |
~/.cargo/bin
~/.cargo/registry/index
~/.cargo/registry/cache
~/.cargo/git/db
key: ${{ runner.os }}-x86_64-unknown-linux-gnu-build-${{ env.cache-name }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-x86_64-unknown-linux-gnu-build-${{ env.cache-name }}-
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ needs.find-msrv.outputs.version }}
- name: Check MSRV Compliance
run: cargo test --workspace --no-run
#find-msrv:
# runs-on: ubuntu-latest
# outputs:
# version: ${{ steps.step2.outputs.version }}
# steps:
# - uses: actions/checkout@v4
# - id: step2
# run: echo "version=`cat odilia/Cargo.toml | sed -n 's/rust-version = "\(.*\)"/\1/p'`" >> "$GITHUB_OUTPUT"
#msrv-compliance:
# needs: [find-msrv]
# runs-on: ubuntu-latest
# steps:
# - name: Git checkout
# uses: actions/checkout@v3
# - name: Cache cargo home
# uses: actions/cache@v3
# env:
# cache-name: cache-cargo-home
# with:
# path: |
# ~/.cargo/bin
# ~/.cargo/registry/index
# ~/.cargo/registry/cache
# ~/.cargo/git/db
# key: ${{ runner.os }}-x86_64-unknown-linux-gnu-build-${{ env.cache-name }}-${{ hashFiles('Cargo.lock') }}
# restore-keys: |
# ${{ runner.os }}-x86_64-unknown-linux-gnu-build-${{ env.cache-name }}-
# - name: Install Rust
# uses: dtolnay/rust-toolchain@master
# with:
# toolchain: ${{ needs.find-msrv.outputs.version }}
# - name: Check MSRV Compliance
# run: cargo test --workspace --no-run

0 comments on commit aff31e8

Please sign in to comment.