Skip to content

Commit 13cbf24

Browse files
authored
Update dependencies (#618)
1 parent 6db984d commit 13cbf24

File tree

3 files changed

+523
-646
lines changed

3 files changed

+523
-646
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,38 @@ jobs:
4444
name: Test ${{ matrix.rust_version }}
4545
runs-on: ubuntu-latest
4646
strategy:
47-
# 1.71.1 is the MSRV for the project, which currently does not match the version specified in
48-
# the rust-toolchain.toml file as metrics-observer requires 1.74 to build. See
49-
# https://github.com/metrics-rs/metrics/pull/505#discussion_r1724092556 for more information.
5047
matrix:
51-
rust_version: ['stable', 'nightly', '1.74.0', '1.71.1']
52-
include:
53-
- rust_version: '1.71.1'
54-
exclude-packages: '--exclude metrics-observer'
48+
rust_version: ['stable', 'nightly']
5549
steps:
5650
- uses: actions/checkout@v3
5751
- name: Install Protobuf Compiler
5852
run: sudo apt-get install protobuf-compiler
5953
- name: Install Rust ${{ matrix.rust_version }}
6054
run: rustup install ${{ matrix.rust_version }}
6155
- name: Run Tests
62-
run: cargo +${{ matrix.rust_version }} test --all-features --workspace ${{ matrix.exclude-packages }}
56+
run: cargo +${{ matrix.rust_version }} test --all-features --workspace
57+
libs-msrv:
58+
name: Check library MSRV
59+
runs-on: ubuntu-latest
60+
steps:
61+
- uses: actions/checkout@v3
62+
- name: Install Protobuf Compiler
63+
run: sudo apt-get install protobuf-compiler
64+
- name: Install Rust 1.71.1
65+
run: rustup install 1.71.1
66+
- name: Check library MSRV
67+
run: cargo +1.71.1 check --lib --all-features --workspace --exclude metrics-observer
68+
bin-msrv:
69+
name: Check binary MSRV
70+
runs-on: ubuntu-latest
71+
steps:
72+
- uses: actions/checkout@v3
73+
- name: Install Protobuf Compiler
74+
run: sudo apt-get install protobuf-compiler
75+
- name: Install Rust 1.74.0
76+
run: rustup install 1.74.0
77+
- name: Check binary MSRV
78+
run: cargo +1.74.0 check --bin metrics-observer
6379
docs:
6480
runs-on: ubuntu-latest
6581
env:

0 commit comments

Comments
 (0)