Skip to content

Commit

Permalink
Set rust MSRV to 1.66
Browse files Browse the repository at this point in the history
Also update CI to test it and ensure future compatibility
  • Loading branch information
dburgener committed Jan 10, 2025
1 parent c610a81 commit 0c9e9a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/restore-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ export PATH="${PATH}:${HOME}/.cargo/bin"
echo "##vso[task.setvariable variable=PATH;]${PATH}"

rustup toolchain install ${VERSION}
rustup component add rustfmt --toolchain ${VERSION}

2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
include:
- selinux-version: '3.7'
rust-toolchain: nightly
- selinux-version: '3.7'
rust-toolchain: 1.81
steps:
- uses: actions/checkout@v3
- name: Checkout selinux userspace
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ license = "MIT"
repository = "https://github.com/dburgener/cascade"
readme = "README.md"
keywords = [ "selinux" ]
rust-version = "1.81"

[build-dependencies]
lalrpop = { version="0.22", default-features=false, features = ["lexer"] }
Expand Down

0 comments on commit 0c9e9a2

Please sign in to comment.