Skip to content

Commit

Permalink
Add MSRV tests
Browse files Browse the repository at this point in the history
Not a lot of these are set in stone, especially for features, so I
wouldn't plan on depending on these being correct. The main point is
to ensure we don't break compatibility *without meaning to*.
  • Loading branch information
daboross committed Mar 23, 2023
1 parent 0301a3e commit 9b16307
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,68 @@ jobs:
- run: cargo run --example syslog3 --features syslog-3
- run: cargo run --example syslog4 --features syslog-4
- run: cargo run --example syslog --features syslog-6
test:
name: MSRV Compatability: Core
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.31.0
override: true
- run: cargo build
- run: cargo build --features reopen-1,reopen-03,meta-logging-in-format,syslog-3
msrv_date_based:
name: MSRV Compatability: date-based
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.48.0
override: true
- run: cargo build --features date-based
msrv_syslog_4:
name: MSRV Compatability: syslog-4
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.51.0
override: true
- run: cargo build --features syslog-4
msrv_syslog_6:
name: MSRV Compatability: syslog-6
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.59.0
override: true
- run: cargo build --features syslog-4,syslog-6

0 comments on commit 9b16307

Please # to comment.