diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index abff621..4477431 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,16 +6,20 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - name: Install latest nightly - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: nightly - override: true - - name: build - run: cargo build --verbose - - name: test - run: cargo test --verbose - - name: test --release - run: cargo test --release --verbose + - uses: actions/checkout@v3 + # LATEST STABLE + - uses: dtolnay/rust-toolchain@stable + - name: build stable + run: cargo +stable build --verbose + - name: test stable + run: cargo +stable test --verbose + - name: test stable --release + run: cargo +stable test --release --verbose + # MSRV + - uses: dtolnay/rust-toolchain@1.58.1 + - name: build MSRV + run: cargo +1.58.1 build --verbose + - name: test MSRV + run: cargo +1.58.1 test --verbose + - name: test MSRV --release + run: cargo +1.58.1 test --release --verbose diff --git a/Cargo.toml b/Cargo.toml index c262f15..2063792 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/nrxus/faux" edition = "2021" keywords = ["mock", "mocking", "test", "testing", "faux"] readme = "README.md" -rust-version = "1.56" +rust-version = "1.58" [dependencies] faux_macros = { path = "faux_macros", version = "0.1.8" } diff --git a/faux_macros/Cargo.toml b/faux_macros/Cargo.toml index fba97b4..1516774 100644 --- a/faux_macros/Cargo.toml +++ b/faux_macros/Cargo.toml @@ -8,7 +8,7 @@ description = "Implementations for #[create], #[methods], when!" homepage = "https://github.com/nrxus/faux" repository = "https://github.com/nrxus/faux" keywords = ["mock", "mocking", "test", "testing", "faux"] -rust-version = "1.56" +rust-version = "1.58" [dependencies] syn = { version = "2", features = ["full", "extra-traits"] }